All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
ignition::transport::MessageInfo Class Reference

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
 

Detailed Description

A class that provides information about the message received.

Constructor & Destructor Documentation

ignition::transport::MessageInfo::MessageInfo ( )

Default constructor.

ignition::transport::MessageInfo::~MessageInfo ( )

Destructor.

Member Function Documentation

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.

Returns
The topic name.

Member Data Documentation

std::unique_ptr<MessageInfoPrivate> ignition::transport::MessageInfo::dataPtr
protected

The documentation for this class was generated from the following file: