All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines
Public Types | Public Member Functions
cpp_introspection::Message Class Reference

#include <message.h>

Inheritance diagram for cpp_introspection::Message:
Inheritance graph
[legend]

List of all members.

Public Types

typedef V_Field::const_iterator const_iterator
typedef V_Field::iterator iterator

Public Member Functions

const_iterator begin () const
virtual VoidPtr createInstance () const =0
virtual VoidPtr deserialize (ros::serialization::IStream &stream, const VoidPtr &instance=VoidPtr()) const =0
const_iterator end () const
virtual FieldWPtr field (const std::string &name) const =0
virtual const V_Fieldfields () const =0
virtual VoidConstPtr getConstInstance () const
virtual const char * getDataType () const =0
virtual const char * getDefinition () const =0
virtual const V_FieldNamegetFieldNames () const =0
V_string getFields (bool expand=false, const std::string &separator=".", const std::string &prefix=std::string()) const
V_stringgetFields (V_string &fields, bool expand=false, const std::string &separator=".", const std::string &prefix=std::string()) const
virtual std::string * getFrameId (const VoidPtr &instance) const =0
virtual const std::string * getFrameId (const VoidConstPtr &instance) const =0
virtual std_msgs::HeadergetHeader (const VoidPtr &instance) const =0
virtual const std_msgs::HeadergetHeader (const VoidConstPtr &instance) const =0
virtual VoidPtr getInstance () const
virtual const char * getMD5Sum () const =0
virtual const char * getName () const =0
virtual ros::TimegetTimeStamp (const VoidPtr &instance) const =0
virtual const ros::TimegetTimeStamp (const VoidConstPtr &instance) const =0
virtual const std::type_info & getTypeId () const =0
V_string getTypes (bool expand=false) const
V_stringgetTypes (V_string &types, bool expand=false) const
std::vector< boost::any > getValues (bool expand=false) const
std::vector< boost::any > & getValues (std::vector< boost::any > &values, bool expand=false) const
virtual bool hasHeader () const =0
virtual bool hasInstance () const
virtual MessagePtr introspect (const VoidPtr &instance) const =0
virtual MessagePtr introspect (void *instance) const =0
virtual MessagePtr introspect (const VoidConstPtr &instance) const =0
virtual MessagePtr introspect (void const *instance) const =0
virtual bool isFixedSize () const =0
virtual bool isMessage () const
virtual bool isSimple () const =0
template<typename T >
T::Ptr narrow (const VoidPtr &instance) const
template<typename T >
T::ConstPtr narrow (const VoidConstPtr &instance) const
virtual std::size_t serializationLength (const VoidConstPtr &instance=VoidConstPtr()) const =0
virtual void serialize (ros::serialization::OStream &stream, const VoidConstPtr &instance=VoidConstPtr()) const =0
virtual ros::SerializedMessage serialize (const VoidConstPtr &instance=VoidConstPtr()) const =0
std::size_t size () const
virtual ~Message ()

Detailed Description

Definition at line 40 of file message.h.


Member Typedef Documentation

typedef V_Field::const_iterator cpp_introspection::Message::const_iterator

Definition at line 95 of file message.h.

typedef V_Field::iterator cpp_introspection::Message::iterator

Definition at line 94 of file message.h.


Constructor & Destructor Documentation

virtual cpp_introspection::Message::~Message ( ) [inline, virtual]

Definition at line 43 of file message.h.


Member Function Documentation

Definition at line 96 of file message.h.

virtual VoidPtr cpp_introspection::Message::createInstance ( ) const [pure virtual]
virtual VoidPtr cpp_introspection::Message::deserialize ( ros::serialization::IStream stream,
const VoidPtr instance = VoidPtr() 
) const [pure virtual]

Definition at line 97 of file message.h.

virtual FieldWPtr cpp_introspection::Message::field ( const std::string &  name) const [pure virtual]
virtual const V_Field& cpp_introspection::Message::fields ( ) const [pure virtual]
virtual VoidConstPtr cpp_introspection::Message::getConstInstance ( ) const [inline, virtual]

Reimplemented in cpp_introspection::Accessor< T >, and cpp_introspection::MessageForwarder.

Definition at line 84 of file message.h.

virtual const char* cpp_introspection::Message::getDataType ( ) const [pure virtual]
virtual const char* cpp_introspection::Message::getDefinition ( ) const [pure virtual]
virtual const V_FieldName& cpp_introspection::Message::getFieldNames ( ) const [pure virtual]
V_string cpp_introspection::Message::getFields ( bool  expand = false,
const std::string &  separator = ".",
const std::string &  prefix = std::string() 
) const

Definition at line 137 of file introspection.cpp.

V_string & cpp_introspection::Message::getFields ( V_string fields,
bool  expand = false,
const std::string &  separator = ".",
const std::string &  prefix = std::string() 
) const

Definition at line 143 of file introspection.cpp.

virtual std::string* cpp_introspection::Message::getFrameId ( const VoidPtr instance) const [pure virtual]
virtual const std::string* cpp_introspection::Message::getFrameId ( const VoidConstPtr instance) const [pure virtual]
virtual std_msgs::Header* cpp_introspection::Message::getHeader ( const VoidPtr instance) const [pure virtual]
virtual const std_msgs::Header* cpp_introspection::Message::getHeader ( const VoidConstPtr instance) const [pure virtual]
virtual VoidPtr cpp_introspection::Message::getInstance ( ) const [inline, virtual]

Reimplemented in cpp_introspection::Accessor< T >, and cpp_introspection::MessageForwarder.

Definition at line 83 of file message.h.

virtual const char* cpp_introspection::Message::getMD5Sum ( ) const [pure virtual]
virtual const char* cpp_introspection::Message::getName ( ) const [pure virtual]
virtual ros::Time* cpp_introspection::Message::getTimeStamp ( const VoidPtr instance) const [pure virtual]
virtual const ros::Time* cpp_introspection::Message::getTimeStamp ( const VoidConstPtr instance) const [pure virtual]
virtual const std::type_info& cpp_introspection::Message::getTypeId ( ) const [pure virtual]
V_string cpp_introspection::Message::getTypes ( bool  expand = false) const

Definition at line 170 of file introspection.cpp.

V_string & cpp_introspection::Message::getTypes ( V_string types,
bool  expand = false 
) const

Definition at line 176 of file introspection.cpp.

std::vector< boost::any > cpp_introspection::Message::getValues ( bool  expand = false) const

Definition at line 199 of file introspection.cpp.

std::vector< boost::any > & cpp_introspection::Message::getValues ( std::vector< boost::any > &  values,
bool  expand = false 
) const

Definition at line 205 of file introspection.cpp.

virtual bool cpp_introspection::Message::hasHeader ( ) const [pure virtual]
virtual bool cpp_introspection::Message::hasInstance ( ) const [inline, virtual]

Reimplemented in cpp_introspection::Accessor< T >, and cpp_introspection::MessageForwarder.

Definition at line 82 of file message.h.

virtual MessagePtr cpp_introspection::Message::introspect ( const VoidPtr instance) const [pure virtual]
virtual MessagePtr cpp_introspection::Message::introspect ( void *  instance) const [pure virtual]
virtual MessagePtr cpp_introspection::Message::introspect ( const VoidConstPtr instance) const [pure virtual]
virtual MessagePtr cpp_introspection::Message::introspect ( void const *  instance) const [pure virtual]
virtual bool cpp_introspection::Message::isFixedSize ( ) const [pure virtual]
virtual bool cpp_introspection::Message::isMessage ( ) const [inline, virtual]

Reimplemented in cpp_introspection::MessageForwarder.

Definition at line 53 of file message.h.

virtual bool cpp_introspection::Message::isSimple ( ) const [pure virtual]
template<typename T >
T::Ptr cpp_introspection::Message::narrow ( const VoidPtr instance) const [inline]

Definition at line 91 of file message.h.

template<typename T >
T::ConstPtr cpp_introspection::Message::narrow ( const VoidConstPtr instance) const [inline]

Definition at line 92 of file message.h.

virtual std::size_t cpp_introspection::Message::serializationLength ( const VoidConstPtr instance = VoidConstPtr()) const [pure virtual]
virtual void cpp_introspection::Message::serialize ( ros::serialization::OStream stream,
const VoidConstPtr instance = VoidConstPtr() 
) const [pure virtual]
virtual ros::SerializedMessage cpp_introspection::Message::serialize ( const VoidConstPtr instance = VoidConstPtr()) const [pure virtual]
std::size_t cpp_introspection::Message::size ( ) const [inline]

Definition at line 98 of file message.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


cpp_introspection
Author(s): Johannes Meyer
autogenerated on Tue Jan 8 2013 17:30:48