![]() |
Project
|
Generic helpers for DataProcessing releated functions. More...
#include <DataProcessingHelpers.h>
Static Public Member Functions | |
| static void | sendEndOfStream (ServiceRegistryRef const &ref, OutputChannelSpec const &channel) |
| static bool | sendOldestPossibleTimeframe (ServiceRegistryRef const &ref, ForwardChannelInfo const &info, ForwardChannelState &state, size_t timeslice) |
| static bool | sendOldestPossibleTimeframe (ServiceRegistryRef const &ref, OutputChannelInfo const &info, OutputChannelState &state, size_t timeslice) |
| static void | broadcastOldestPossibleTimeslice (ServiceRegistryRef const &ref, size_t timeslice) |
| Broadcast the oldest possible timeslice to all channels in output. | |
| static void | switchState (ServiceRegistryRef const &ref, StreamingState newState) |
| change the device StreamingState to newState | |
| static bool | hasOnlyGenerated (DeviceSpec const &spec) |
| check if spec is a source devide | |
| static TransitionHandlingState | updateStateTransition (ServiceRegistryRef const &ref, ProcessingPolicies const &policies) |
| starts the EoS timers and returns the new TransitionHandlingState in case as new state is requested | |
Generic helpers for DataProcessing releated functions.
Definition at line 30 of file DataProcessingHelpers.h.
|
static |
Broadcast the oldest possible timeslice to all channels in output.
Definition at line 100 of file DataProcessingHelpers.cxx.
|
static |
check if spec is a source devide
Definition at line 126 of file DataProcessingHelpers.cxx.
|
static |
Send EndOfStream message to a given channel
| device | the fair::mq::Device which needs to send the EndOfStream message |
| channel | the OutputChannelSpec of the channel which needs to be signaled for EndOfStream |
Definition at line 47 of file DataProcessingHelpers.cxx.
|
static |
Definition at line 80 of file DataProcessingHelpers.cxx.
|
static |
Definition at line 90 of file DataProcessingHelpers.cxx.
|
static |
change the device StreamingState to newState
Definition at line 110 of file DataProcessingHelpers.cxx.
|
static |
starts the EoS timers and returns the new TransitionHandlingState in case as new state is requested
Definition at line 167 of file DataProcessingHelpers.cxx.