All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
Public Types | Public Member Functions | Public Attributes
mongo_ros::MessageWithMetadata< M > Struct Template Reference

Class that wraps (via inheritance) a ROS message type, together with additional metadata (a yaml dictionary) More...

#include <message_with_metadata.h>

List of all members.

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 (const Metadata &metadata, const M &msg=M())
 MessageWithMetadata (const mongo::BSONObj &metadata, const M &msg=M())
 MessageWithMetadata (const MessageWithMetadata &m)
 MessageWithMetadata ()

Public Attributes

mongo::BSONObj metadata

Detailed Description

template<class M>
struct mongo_ros::MessageWithMetadata< M >

Class that wraps (via inheritance) a ROS message type, together with additional metadata (a yaml dictionary)

Template Parameters:
Mthe message type being wrapped

Definition at line 58 of file message_with_metadata.h.


Member Typedef Documentation

template<class M>
typedef boost::shared_ptr<MessageWithMetadata<M> const> mongo_ros::MessageWithMetadata< M >::ConstPtr

Definition at line 103 of file message_with_metadata.h.

template<class M>
typedef boost::shared_ptr<MessageWithMetadata<M> > mongo_ros::MessageWithMetadata< M >::Ptr

Definition at line 102 of file message_with_metadata.h.


Constructor & Destructor Documentation

template<class M>
mongo_ros::MessageWithMetadata< M >::MessageWithMetadata ( const Metadata metadata,
const M &  msg = M() 
) [inline]

Definition at line 60 of file message_with_metadata.h.

template<class M>
mongo_ros::MessageWithMetadata< M >::MessageWithMetadata ( const mongo::BSONObj &  metadata,
const M &  msg = M() 
) [inline]

Definition at line 66 of file message_with_metadata.h.

template<class M>
mongo_ros::MessageWithMetadata< M >::MessageWithMetadata ( const MessageWithMetadata< M > &  m) [inline]

Definition at line 71 of file message_with_metadata.h.

template<class M>
mongo_ros::MessageWithMetadata< M >::MessageWithMetadata ( ) [inline]

Definition at line 75 of file message_with_metadata.h.


Member Function Documentation

template<class M>
bool mongo_ros::MessageWithMetadata< M >::lookupBool ( const std::string &  name) const [inline]

Definition at line 97 of file message_with_metadata.h.

template<class M>
double mongo_ros::MessageWithMetadata< M >::lookupDouble ( const std::string &  name) const [inline]

Definition at line 85 of file message_with_metadata.h.

template<class M>
int mongo_ros::MessageWithMetadata< M >::lookupInt ( const std::string &  name) const [inline]

Definition at line 92 of file message_with_metadata.h.

template<class M>
std::string mongo_ros::MessageWithMetadata< M >::lookupString ( const std::string &  name) const [inline]

Definition at line 80 of file message_with_metadata.h.


Member Data Documentation

template<class M>
mongo::BSONObj mongo_ros::MessageWithMetadata< M >::metadata

Definition at line 78 of file message_with_metadata.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


mongo_ros
Author(s): Bhaskara Marthi
autogenerated on Mon Sep 2 2013 11:11:08