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
template<typename T >
boost::shared_ptr< T const > getConstInstanceAs () 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::Header * getHeader (const VoidPtr &instance) const =0
virtual const std_msgs::Header * getHeader (const VoidConstPtr &instance) const =0
virtual VoidPtr getInstance () const
template<typename T >
boost::shared_ptr< T > getInstanceAs () const
virtual const char * getMD5Sum () const =0
virtual const char * getName () const =0
virtual const char * getPackageName () 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
template<typename T >
bool hasType () 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 MessagePtr introspect () const
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 PackagePtr package () const =0
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 101 of file message.h.

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

Definition at line 100 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 102 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 103 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::MessageForwarder, and cpp_introspection::Accessor< T >.

Definition at line 87 of file message.h.

template<typename T >
boost::shared_ptr<T const> cpp_introspection::Message::getConstInstanceAs ( ) const [inline]

Definition at line 89 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 139 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 145 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::MessageForwarder, and cpp_introspection::Accessor< T >.

Definition at line 86 of file message.h.

template<typename T >
boost::shared_ptr<T> cpp_introspection::Message::getInstanceAs ( ) const [inline]

Definition at line 88 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 const char* cpp_introspection::Message::getPackageName ( ) 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 172 of file introspection.cpp.

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

Definition at line 178 of file introspection.cpp.

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

Definition at line 201 of file introspection.cpp.

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

Definition at line 207 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::MessageForwarder, and cpp_introspection::Accessor< T >.

Definition at line 85 of file message.h.

template<typename T >
bool cpp_introspection::Message::hasType ( ) const [inline]

Definition at line 59 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 MessagePtr cpp_introspection::Message::introspect ( ) const [inline, virtual]

Definition at line 95 of file message.h.

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 54 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 97 of file message.h.

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

Definition at line 98 of file message.h.

virtual PackagePtr cpp_introspection::Message::package ( ) const [pure virtual]
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 104 of file message.h.


The documentation for this class was generated from the following files:


cpp_introspection
Author(s): Johannes Meyer
autogenerated on Wed Aug 26 2015 11:11:00