10#include <framework/core/Module.h>
12#include <daq/hbasf2/utils/HLTStreamHelper.h>
13#include <framework/pcore/zmq/connections/ZMQLoadBalancedConnection.h>
15#include <framework/pcore/zmq/utils/ZMQParent.h>
38 void event()
override;
44 std::unique_ptr<ZMQLoadBalancedInput>
m_input;
Helper class for data store serialization.
Special ZMQ2Ds module without the HLT-specific handling of initialization and begin/end run.
bool m_firstEvent
Are we still in the first real event?
std::unique_ptr< ZMQLoadBalancedInput > m_input
Load balanced connection to the previous ZMQ application.
void initialize() override
Receive the first event and initialize the data store with it.
HLTZMQ2DsDirectModule()
Register the module parameters.
void event() override
If not in the first event, receive an event and store in the DS.
std::shared_ptr< ZMQParent > m_parent
ZMQ Parent needed for the connections.
unsigned int m_param_bufferSize
Module parameter: how many events should be kept in flight. Has an impact on the stopping time as wel...
HLTStreamHelper m_streamHelper
Utility class for deserialization.
std::string m_param_input
Module parameter: ZMQ address of the input ZMQ application.
Abstract base class for different kinds of events.