Public Types | Public Member Functions | Public Attributes
warehouse_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
< 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_

Detailed Description

template<class M>
struct warehouse_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 56 of file message_with_metadata.h.


Member Typedef Documentation

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

Definition at line 106 of file message_with_metadata.h.

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

Definition at line 105 of file message_with_metadata.h.


Constructor & Destructor Documentation

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

Definition at line 59 of file message_with_metadata.h.

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

Definition at line 64 of file message_with_metadata.h.

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

Definition at line 69 of file message_with_metadata.h.


Member Function Documentation

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

Definition at line 90 of file message_with_metadata.h.

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

Definition at line 80 of file message_with_metadata.h.

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

Definition at line 95 of file message_with_metadata.h.

template<class M>
std::set<std::string> warehouse_ros::MessageWithMetadata< M >::lookupFieldNames ( ) const [inline]

Definition at line 100 of file message_with_metadata.h.

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

Definition at line 85 of file message_with_metadata.h.

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

Definition at line 75 of file message_with_metadata.h.


Member Data Documentation

Definition at line 73 of file message_with_metadata.h.


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


warehouse_ros
Author(s): Bhaskara Marthi , Connor Brew
autogenerated on Thu Jun 23 2016 05:36:41