Message is the base class for message types supported by the introspection library.
More...
#include <Message.h>
Message is the base class for message types supported by the introspection library.
Definition at line 16 of file Message.h.
swarmros::introspection::Message::Message |
( |
| ) |
|
|
inlineprotected |
swarmros::introspection::Message::Message |
( |
const std::string & |
type | ) |
|
|
inlineprotected |
Build an Message instance for a specific type.
- Parameters
-
Definition at line 53 of file Message.h.
void swarmros::introspection::Message::EraseType |
( |
| ) |
|
|
inline |
Erase type information from message.
Definition at line 87 of file Message.h.
Get a reference to the header.
- Returns
- const std_msgs::Header&
Definition at line 108 of file Message.h.
Get a mutable reference to the header.
- Returns
- std_msgs::Header&
Definition at line 118 of file Message.h.
Get the associated serializer.
- Returns
- const MessageSerializer*
Definition at line 98 of file Message.h.
const std::string& swarmros::introspection::Message::GetType |
( |
| ) |
const |
|
inline |
Get the fully qualified type of the message.
- Returns
- const std::string&
Definition at line 78 of file Message.h.
void swarmros::introspection::Message::SetType |
( |
const std::string & |
type | ) |
|
|
inline |
Set the type of the object and fetch its serializer.
- Parameters
-
Definition at line 66 of file Message.h.
Reference to the serializer used to construct this message.
Definition at line 25 of file Message.h.
std::string swarmros::introspection::Message::_type |
|
private |
The documentation for this class was generated from the following file: