#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 |
virtual cpp_introspection::Message::~Message | ( | ) | [inline, virtual] |
const_iterator cpp_introspection::Message::begin | ( | ) | const [inline] |
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] |
const_iterator cpp_introspection::Message::end | ( | ) | const [inline] |
virtual FieldWPtr cpp_introspection::Message::field | ( | const std::string & | name | ) | const [pure virtual] |
Implemented in cpp_introspection::ExpandedMessage, and cpp_introspection::Accessor< T >.
virtual const V_Field& cpp_introspection::Message::fields | ( | ) | const [pure virtual] |
Implemented in cpp_introspection::ExpandedMessage, and cpp_introspection::Accessor< T >.
virtual VoidConstPtr cpp_introspection::Message::getConstInstance | ( | ) | const [inline, virtual] |
Reimplemented in cpp_introspection::MessageForwarder, and cpp_introspection::Accessor< T >.
boost::shared_ptr<T const> cpp_introspection::Message::getConstInstanceAs | ( | ) | const [inline] |
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] |
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.
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 >.
boost::shared_ptr<T> cpp_introspection::Message::getInstanceAs | ( | ) | const [inline] |
virtual const char* cpp_introspection::Message::getMD5Sum | ( | ) | const [pure virtual] |
virtual const char* cpp_introspection::Message::getName | ( | ) | const [pure virtual] |
Implemented in cpp_introspection::Accessor< T >, and cpp_introspection::MessageForwarder.
virtual const char* cpp_introspection::Message::getPackageName | ( | ) | const [pure virtual] |
Implemented in cpp_introspection::Accessor< T >, and cpp_introspection::MessageForwarder.
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 >.
bool cpp_introspection::Message::hasType | ( | ) | const [inline] |
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] |
virtual bool cpp_introspection::Message::isFixedSize | ( | ) | const [pure virtual] |
virtual bool cpp_introspection::Message::isMessage | ( | ) | const [inline, virtual] |
Reimplemented in cpp_introspection::MessageForwarder.
virtual bool cpp_introspection::Message::isSimple | ( | ) | const [pure virtual] |
T::Ptr cpp_introspection::Message::narrow | ( | const VoidPtr & | instance | ) | const [inline] |
T::ConstPtr cpp_introspection::Message::narrow | ( | const VoidConstPtr & | instance | ) | const [inline] |
virtual PackagePtr cpp_introspection::Message::package | ( | ) | const [pure virtual] |
Implemented in cpp_introspection::Accessor< T >, and cpp_introspection::MessageForwarder.
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] |