11#ifndef O2_FRAMEWORK_COMMONMESSAGEBACKENDSHELPERS_H_
12#define O2_FRAMEWORK_COMMONMESSAGEBACKENDSHELPERS_H_
23#include <fairmq/ProgOptions.h>
41 T* context =
reinterpret_cast<T*
>(service);
49 T* context =
reinterpret_cast<T*
>(service);
57 T* context =
reinterpret_cast<T*
>(service);
65 T* context =
reinterpret_cast<T*
>(service);
Allow injecting policies on send.
Defining ITS Vertex explicitly as messageable.
ServiceHandle(*)(ServiceRegistryRef, DeviceState &, fair::mq::ProgOptions &) ServiceInit
A callback to create a given Service.
void(*)(EndOfStreamContext &, void *) ServiceEOSCallback
A callback which is executed before the end of stream loop.
void(*)(ProcessingContext &, void *) ServiceProcessingCallback
A callback which is executed before each processing loop.
static ServiceInit createCallback()
static ServiceEOSCallback sendCallbackEOS()
static ServiceProcessingCallback clearContext()
static ServiceProcessingCallback sendCallback()
static ServiceEOSCallback clearContextEOS()
static void doSend(DataSender &, MessageContext &, ServiceRegistryRef)
Running state information of a given device.