Class that wraps (via inheritance) a ROS message type, together with additional metadata (a yaml dictionary) More...
#include <message_with_metadata.h>
Public Types | |
typedef boost::shared_ptr < const MessageWithMetadata< M > > | ConstPtr |
typedef boost::shared_ptr < MessageWithMetadata< M > > | Ptr |
Public Member Functions | |
bool | lookupBool (const std::string &name) const |
double | lookupDouble (const std::string &name) const |
bool | lookupField (const std::string &name) const |
std::set< std::string > | lookupFieldNames () const |
int | lookupInt (const std::string &name) const |
std::string | lookupString (const std::string &name) const |
MessageWithMetadata (Metadata::ConstPtr metadata, const M &msg=M()) | |
MessageWithMetadata (const MessageWithMetadata &m) | |
MessageWithMetadata () | |
Public Attributes | |
Metadata::ConstPtr | metadata_ |
Class that wraps (via inheritance) a ROS message type, together with additional metadata (a yaml dictionary)
M | the message type being wrapped |
Definition at line 56 of file message_with_metadata.h.
typedef boost::shared_ptr<const MessageWithMetadata<M> > warehouse_ros::MessageWithMetadata< M >::ConstPtr |
Definition at line 106 of file message_with_metadata.h.
typedef boost::shared_ptr<MessageWithMetadata<M> > warehouse_ros::MessageWithMetadata< M >::Ptr |
Definition at line 105 of file message_with_metadata.h.
warehouse_ros::MessageWithMetadata< M >::MessageWithMetadata | ( | Metadata::ConstPtr | metadata, |
const M & | msg = M() |
||
) | [inline] |
Definition at line 59 of file message_with_metadata.h.
warehouse_ros::MessageWithMetadata< M >::MessageWithMetadata | ( | const MessageWithMetadata< M > & | m | ) | [inline] |
Definition at line 64 of file message_with_metadata.h.
warehouse_ros::MessageWithMetadata< M >::MessageWithMetadata | ( | ) | [inline] |
Definition at line 69 of file message_with_metadata.h.
bool warehouse_ros::MessageWithMetadata< M >::lookupBool | ( | const std::string & | name | ) | const [inline] |
Definition at line 90 of file message_with_metadata.h.
double warehouse_ros::MessageWithMetadata< M >::lookupDouble | ( | const std::string & | name | ) | const [inline] |
Definition at line 80 of file message_with_metadata.h.
bool warehouse_ros::MessageWithMetadata< M >::lookupField | ( | const std::string & | name | ) | const [inline] |
Definition at line 95 of file message_with_metadata.h.
std::set<std::string> warehouse_ros::MessageWithMetadata< M >::lookupFieldNames | ( | ) | const [inline] |
Definition at line 100 of file message_with_metadata.h.
int warehouse_ros::MessageWithMetadata< M >::lookupInt | ( | const std::string & | name | ) | const [inline] |
Definition at line 85 of file message_with_metadata.h.
std::string warehouse_ros::MessageWithMetadata< M >::lookupString | ( | const std::string & | name | ) | const [inline] |
Definition at line 75 of file message_with_metadata.h.
Metadata::ConstPtr warehouse_ros::MessageWithMetadata< M >::metadata_ |
Definition at line 73 of file message_with_metadata.h.