MessageInfo.hh
Definition: AdvertiseOptions.hh:27
STL class.
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.
void SetTopic(const std::string &_topic)
Set the topic name associated to the message.
A class that provides information about the message received.
Definition: MessageInfo.hh:33
std::unique_ptr< MessageInfoPrivate > dataPtr
Definition: MessageInfo.hh:82
bool SetTopicAndPartition(const std::string &_fullyQualifiedName)
Set both the topic and the partition from a single string.
*brief Advertise a new service without any output parameter *In this version the callback is a free function *param[in] _topic Topic name associated to the service *param[in] _cb Callback to handle the service request with the *following void(*) const AdvertiseServiceOptions const ReplyT std::string _topic)
Definition: Node.hh:558
std::string Partition() const
Get the name of the partition.
void SetType(const std::string &_type)
Set the name of the message type.