10#include <framework/core/Module.h>
12#include <framework/datastore/StoreObjPtr.h>
13#include <framework/dataobjects/EventMetaData.h>
15#include <framework/pcore/zmq/sockets/ZMQClient.h>
16#include <framework/pcore/zmq/utils/StreamHelper.h>
33 void event()
override;
Type-safe access to single objects in the data store.
Helper class for data store serialization.
A helper class for communicating over ZMQ. Includes a multicast and (if needed) also a data socket.
Module connecting the worker path with the output path on the worker side.
int m_param_compressionLevel
Parameter: Compression level of the streamer.
bool m_firstEvent
Set to false if the objects are initialized.
std::string m_param_socketName
Parameter: name of the data socket.
StreamHelper m_streamer
The data store streamer.
ZMQTxWorkerModule()
Constructor setting the moudle paramters.
ZMQClient m_zmqClient
Our ZMQ client.
void event() override
Pack the datastore and stream it.
void endRun() override
EndRun processing.
void terminate() override
Terminate the client and tell the monitor, we are done.
StoreObjPtr< EventMetaData > m_eventMetaData
The event meta data in the data store needed for confirming events.
std::string m_param_xpubProxySocketName
Parameter: name of the pub multicast socket.
bool m_param_handleMergeable
Parameter: Can we handle mergeables?
std::string m_param_xsubProxySocketName
Parameter: name of the sub multicast socket.
Abstract base class for different kinds of events.