MessageInfo.hh
Go to the documentation of this file.
A class that provides information about the message received.
Definition: MessageInfo.hh:38
const std::string & Partition() const
Get the name of the partition.
const std::string & Topic() const
Get the topic name associated to the message.
void SetPartition(const std::string &_partition)
Set the partition of the topic the message was on.
bool IntraProcess() const
Whether the message is coming from a node within this process.
void SetType(const std::string &_type)
Set the name of the message type.
std::unique_ptr< MessageInfoPrivate > dataPtr
Definition: MessageInfo.hh:100
void SetTopic(const std::string &_topic)
Set the topic name associated to the message.
void SetIntraProcess(bool _value)
Set whether this message is intra-process or not.
const std::string & Type() const
Get the name of the message type.
bool SetTopicAndPartition(const std::string &_fullyQualifiedName)
Set both the topic and the partition from a single string.
MessageInfo(const MessageInfo &_other)
Explicit copy constructor (The copy constructor is deleted by default due to the use of std::unique_p...
Definition: AdvertiseOptions.hh:29