10#include <framework/pcore/zmq/messages/ZMQModuleMessage.h> 
   11#include <framework/pcore/zmq/messages/ZMQDefinitions.h> 
   22    friend class ZMQMessageFactory;
 
   26    static constexpr const unsigned int c_type = 0;
 
   28    static constexpr const unsigned int c_data = 1;
 
 
const zmq::message_t & getMessagePart() const
ZMQModuleMessage(const ZMQModuleMessage &)=delete
Do not allow to copy a message.
A message without an associated socket ID. Is used in most cases.
static constexpr const unsigned int c_additionalData
Where the additional data is stored.
std::string getData() const
Get the data as string.
zmq::message_t & getDataMessage()
Get the data part.
static constexpr const unsigned int c_data
Where the data is stored.
ZMQModuleMessage(const ZMQModuleMessage &)=delete
Copy the constructors.
bool isMessage(EMessageTypes isType) const
The if the message is of a given type.
static constexpr const unsigned int c_type
Where the type is stored.
zmq::message_t & getAdditionalDataMessage()
Get the additional data part.
EMessageTypes
Type the messages can have.
Abstract base class for different kinds of events.