MessageInfo.hh
Go to the documentation of this file.
A class that provides information about the message received.
Definition MessageInfo.hh:34
void SetPartition(const std::string &_partition)
Set the partition of the topic the message was on.
void SetType(const std::string &_type)
Set the name of the message type.
std::unique_ptr< MessageInfoPrivate > dataPtr
Definition MessageInfo.hh:82
std::string Topic() const
Get the topic name associated to the message.
void SetTopic(const std::string &_topic)
Set the topic name associated to the message.
std::string Partition() const
Get the name of the partition.
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:28