Project
Loading...
Searching...
No Matches
ChannelInfo.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11#ifndef O2_FRAMEWORK_CHANNELINFO_H_
12#define O2_FRAMEWORK_CHANNELINFO_H_
13
16#include <string>
17#include <fairmq/Parts.h>
18
19#include <fairmq/FwdDecls.h>
20
21namespace o2::framework
22{
23
24enum struct InputChannelState {
26 Running,
28 Paused,
33 Pull
34};
35
38 Unknown,
40 DPL,
42 RAWFMQ
43};
44
68
69struct SendingPolicy;
70struct ForwardingPolicy;
71
80
83 // How many times sending on this channel failed
84 int64_t droppedMessages = 0;
85};
86
97
102
103} // namespace o2::framework
104
105#endif // O2_FRAMEWORK_CHANNELINFO_H_
GLuint index
Definition glcorearb.h:781
GLuint const GLchar * name
Definition glcorearb.h:781
Defining PrimaryVertex explicitly as messageable.
Definition TFIDInfo.h:20
@ RAWFMQ
A raw FairMQ channel which is not accounted by the framework.
@ DPL
The channel is a normal input channel.
@ Completed
The channel was signaled it will not receive any data.
@ Running
The channel is actively receiving data.
@ Paused
The channel was paused.
Forward channel information.
Definition ChannelInfo.h:88
ChannelAccountingType channelType
Wether or not it's a DPL internal channel.
Definition ChannelInfo.h:92
ForwardingPolicy const * policy
Definition ChannelInfo.h:94
ChannelAccountingType channelType
Wether its a normal channel or one which.
Definition ChannelInfo.h:63
fair::mq::Channel * channel
Definition ChannelInfo.h:51
TimesliceId oldestForChannel
Oldest possible timeslice for the given channel.
Definition ChannelInfo.h:65
Output channel information.
Definition ChannelInfo.h:73
fair::mq::Channel & channel
Definition ChannelInfo.h:76
SendingPolicy const * policy
Definition ChannelInfo.h:77
ChannelAccountingType channelType
Definition ChannelInfo.h:75