#include <message.h>
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_Field & | fields () 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_FieldName & | getFieldNames () const =0 |
V_string | getFields (bool expand=false, const std::string &separator=".", const std::string &prefix=std::string()) const |
V_string & | getFields (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::Time * | getTimeStamp (const VoidPtr &instance) const =0 |
virtual const ros::Time * | getTimeStamp (const VoidConstPtr &instance) const =0 |
virtual const std::type_info & | getTypeId () const =0 |
V_string | getTypes (bool expand=false) const |
V_string & | getTypes (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 () |
typedef V_Field::const_iterator cpp_introspection::Message::const_iterator |
typedef V_Field::iterator cpp_introspection::Message::iterator |
|
inlinevirtual |
|
inline |
|
pure virtual |
|
pure virtual |
|
inline |
|
pure virtual |
Implemented in cpp_introspection::ExpandedMessage, and cpp_introspection::Accessor< T >.
|
pure virtual |
Implemented in cpp_introspection::ExpandedMessage, and cpp_introspection::Accessor< T >.
|
inlinevirtual |
Reimplemented in cpp_introspection::MessageForwarder, and cpp_introspection::Accessor< T >.
|
inline |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in cpp_introspection::ExpandedMessage, and cpp_introspection::Accessor< T >.
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.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inlinevirtual |
Reimplemented in cpp_introspection::MessageForwarder, and cpp_introspection::Accessor< T >.
|
inline |
|
pure virtual |
|
pure virtual |
Implemented in cpp_introspection::Accessor< T >, and cpp_introspection::MessageForwarder.
|
pure virtual |
Implemented in cpp_introspection::Accessor< T >, and cpp_introspection::MessageForwarder.
|
pure virtual |
|
pure virtual |
V_string cpp_introspection::Message::getTypes | ( | bool | expand = false | ) | const |
Definition at line 172 of file introspection.cpp.
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.
|
pure virtual |
|
inlinevirtual |
Reimplemented in cpp_introspection::MessageForwarder, and cpp_introspection::Accessor< T >.
|
inline |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inlinevirtual |
|
pure virtual |
|
inlinevirtual |
Reimplemented in cpp_introspection::MessageForwarder.
|
pure virtual |
|
inline |
|
inline |
|
pure virtual |
Implemented in cpp_introspection::Accessor< T >, and cpp_introspection::MessageForwarder.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
inline |