 |
Belle II Software
release-05-01-25
|
12 #include <framework/pcore/zmq/messages/ZMQModuleMessage.h>
13 #include <framework/pcore/zmq/messages/ZMQDefinitions.h>
22 class ZMQNoIdMessage :
public ZMQModuleMessage<3> {
24 friend class ZMQMessageFactory;
28 static constexpr
const unsigned int c_type = 0;
30 static constexpr
const unsigned int c_data = 1;
40 return getMessagePart<c_data>();
46 return getMessagePart<c_additionalData>();
static constexpr const unsigned int c_data
Where the data is stored.
EMessageTypes
Type the messages can have.
ZMQModuleMessage()=default
Do not allow to create a new message from scratch publicly.
static constexpr const unsigned int c_type
Where the type is stored.
bool isMessage(EMessageTypes isType) const
The if the message is of a given type.
zmq::message_t & getAdditionalDataMessage()
Get the additional data part.
static constexpr const unsigned int c_additionalData
Where the additional data is stored.
Abstract base class for different kinds of events.
std::string getData() const
Get the data as string.
zmq::message_t & getDataMessage()
Get the data part.