10#include <framework/core/Module.h>
12#include <daq/hbasf2/utils/HLTStreamHelper.h>
13#include <framework/pcore/zmq/connections/ZMQConfirmedConnection.h>
15#include <framework/pcore/zmq/utils/ZMQParent.h>
16#include <framework/datastore/StoreObjPtr.h>
17#include <framework/dataobjects/EventMetaData.h>
51 void event()
override;
On every event, serialize the data store and send the binary data out to the connected ZMQ applicatio...
bool m_firstEvent
Are we still in the first event? Please note the special handling of the first event in the HLTEventP...
std::string m_param_output
Module parameter: the ZMQ address of the connected application (to receive the messages)
void event() override
On the first event, initialize the streamer and the connection. Serializes and sends out the data sto...
void endRun() override
Send out a run stop message.
std::shared_ptr< ZMQParent > m_parent
ZMQ Parent needed for the connections.
void terminate() override
Send out a terminate message.
bool m_param_outputConfirmation
Module parameter: waiting for output confirmation message or not.
HLTDs2ZMQModule()
Register the module parameters.
HLTStreamHelper m_streamHelper
Utility class used for serialization.
std::unique_ptr< ZMQConfirmedOutput > m_output
Confirmed connection to the ZMQ application.
bool m_param_raw
Module paremeter: send out raw data with send header and trailer around the evtmessage instead of jus...
Helper class for data store serialization.
Abstract base class for different kinds of events.