![]() |
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 | |
| static std::vector< fair::mq::Parts > | routeForwardedMessages (FairMQDeviceProxy &proxy, TimesliceSlot slot, std::vector< MessageSet > ¤tSetOfInputs, TimesliceIndex::OldestOutputInfo oldestTimeslice, bool copy, bool consume) |
| Helper to route messages for forwarding. | |
Generic helpers for DataProcessing releated functions.
Definition at line 37 of file DataProcessingHelpers.h.
|
static |
Broadcast the oldest possible timeslice to all channels in output.
Definition at line 104 of file DataProcessingHelpers.cxx.
|
static |
check if spec is a source devide
Definition at line 130 of file DataProcessingHelpers.cxx.
|
static |
Helper to route messages for forwarding.
Definition at line 287 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 51 of file DataProcessingHelpers.cxx.
|
static |
Definition at line 84 of file DataProcessingHelpers.cxx.
|
static |
Definition at line 94 of file DataProcessingHelpers.cxx.
|
static |
change the device StreamingState to newState
Definition at line 114 of file DataProcessingHelpers.cxx.
|
static |
starts the EoS timers and returns the new TransitionHandlingState in case as new state is requested
Definition at line 171 of file DataProcessingHelpers.cxx.