A class that provides information about the message received. More...
#include <MessageInfo.hh>
Public Member Functions | |
| MessageInfo () | |
| Default constructor. More... | |
| ~MessageInfo () | |
| Destructor. More... | |
| void | SetTopic (const std::string &_topic) |
| Set the topic name associated to the message. More... | |
| std::string | Topic () const |
| Get the topic name associated to the message. More... | |
Protected Attributes | |
| std::unique_ptr < MessageInfoPrivate > | dataPtr |
A class that provides information about the message received.
| ignition::transport::MessageInfo::MessageInfo | ( | ) |
Default constructor.
| ignition::transport::MessageInfo::~MessageInfo | ( | ) |
Destructor.
| void ignition::transport::MessageInfo::SetTopic | ( | const std::string & | _topic | ) |
Set the topic name associated to the message.
| std::string ignition::transport::MessageInfo::Topic | ( | ) | const |
Get the topic name associated to the message.
|
protected |