gz/transport/MessageInfo.hh
Definition: gz/transport/AdvertiseOptions.hh:28
STL class.
void SetIntraProcess(bool _value)
Set whether this message is intra-process or not.
void SetPartition(const std::string &_partition)
Set the partition of the topic the message was on.
void SetTopic(const std::string &_topic)
Set the topic name associated to the message.
const std::string & Topic() const
Get the topic name associated to the message.
const std::string & Type() const
Get the name of the message type.
A class that provides information about the message received.
Definition: gz/transport/MessageInfo.hh:37
std::unique_ptr< MessageInfoPrivate > dataPtr
Definition: gz/transport/MessageInfo.hh:100
bool SetTopicAndPartition(const std::string &_fullyQualifiedName)
Set both the topic and the partition from a single string.
const std::string & Partition() const
Get the name of the partition.
void SetType(const std::string &_type)
Set the name of the message type.
bool IntraProcess() const
Whether the message is coming from a node within this process.