$search
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 < MessageWithMetadata< M > const > | 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 |
int | lookupInt (const std::string &name) const |
std::string | lookupString (const std::string &name) const |
MessageWithMetadata () | |
MessageWithMetadata (const MessageWithMetadata &m) | |
MessageWithMetadata (const mongo::BSONObj &metadata, const M &msg=M()) | |
MessageWithMetadata (const Metadata &metadata, const M &msg=M()) | |
Public Attributes | |
mongo::BSONObj | 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 58 of file message_with_metadata.h.
typedef boost::shared_ptr<MessageWithMetadata<M> const> mongo_ros::MessageWithMetadata< M >::ConstPtr |
Definition at line 103 of file message_with_metadata.h.
typedef boost::shared_ptr<MessageWithMetadata<M> > mongo_ros::MessageWithMetadata< M >::Ptr |
Definition at line 102 of file message_with_metadata.h.
mongo_ros::MessageWithMetadata< M >::MessageWithMetadata | ( | const Metadata & | metadata, | |
const M & | msg = M() | |||
) | [inline] |
Definition at line 60 of file message_with_metadata.h.
mongo_ros::MessageWithMetadata< M >::MessageWithMetadata | ( | const mongo::BSONObj & | metadata, | |
const M & | msg = M() | |||
) | [inline] |
Definition at line 66 of file message_with_metadata.h.
mongo_ros::MessageWithMetadata< M >::MessageWithMetadata | ( | const MessageWithMetadata< M > & | m | ) | [inline] |
Definition at line 71 of file message_with_metadata.h.
mongo_ros::MessageWithMetadata< M >::MessageWithMetadata | ( | ) | [inline] |
Definition at line 75 of file message_with_metadata.h.
bool mongo_ros::MessageWithMetadata< M >::lookupBool | ( | const std::string & | name | ) | const [inline] |
Definition at line 97 of file message_with_metadata.h.
double mongo_ros::MessageWithMetadata< M >::lookupDouble | ( | const std::string & | name | ) | const [inline] |
Definition at line 85 of file message_with_metadata.h.
int mongo_ros::MessageWithMetadata< M >::lookupInt | ( | const std::string & | name | ) | const [inline] |
Definition at line 92 of file message_with_metadata.h.
std::string mongo_ros::MessageWithMetadata< M >::lookupString | ( | const std::string & | name | ) | const [inline] |
Definition at line 80 of file message_with_metadata.h.
mongo::BSONObj mongo_ros::MessageWithMetadata< M >::metadata |
Definition at line 78 of file message_with_metadata.h.