#include <accessor.h>
Classes | |
class | FieldAccess |
Public Types | |
typedef boost::is_const< T >::type | is_const |
Public Member Functions | |
Accessor (const Message &message, const boost::shared_ptr< T > &instance) | |
VoidPtr | deserialize (ros::serialization::IStream &stream, const VoidPtr &) const |
FieldWPtr | field (const std::string &name) const |
const V_Field & | fields () const |
VoidConstPtr | getConstInstance () const |
const V_FieldName & | getFieldNames () const |
VoidPtr | getInstance () const |
const char * | getName () const |
bool | hasInstance () const |
T & | instance () const |
std::size_t | serializationLength (const VoidConstPtr &) const |
void | serialize (ros::serialization::OStream &stream, const VoidConstPtr &) const |
ros::SerializedMessage | serialize (const VoidConstPtr &) const |
virtual | ~Accessor () |
Static Public Member Functions | |
template<class FieldType > | |
static FieldPtr | access (const FieldType &field, AccessorBase &accessor) |
Private Attributes | |
V_Field | fields_ |
M_Field | fields_by_name_ |
boost::shared_ptr< T > | instance_ |
const Message & | message_ |
Definition at line 45 of file accessor.h.
typedef boost::is_const<T>::type cpp_introspection::Accessor< T >::is_const |
Definition at line 48 of file accessor.h.
cpp_introspection::Accessor< T >::Accessor | ( | const Message & | message, |
const boost::shared_ptr< T > & | instance | ||
) | [inline] |
Definition at line 57 of file accessor.h.
virtual cpp_introspection::Accessor< T >::~Accessor | ( | ) | [inline, virtual] |
Definition at line 68 of file accessor.h.
static FieldPtr cpp_introspection::Accessor< T >::access | ( | const FieldType & | field, |
AccessorBase & | accessor | ||
) | [inline, static] |
Definition at line 134 of file accessor.h.
VoidPtr cpp_introspection::Accessor< T >::deserialize | ( | ros::serialization::IStream & | stream, |
const VoidPtr & | |||
) | const [inline, virtual] |
Reimplemented from cpp_introspection::MessageTemplate< boost::remove_const< T >::type >.
Definition at line 86 of file accessor.h.
FieldWPtr cpp_introspection::Accessor< T >::field | ( | const std::string & | name | ) | const [inline, virtual] |
Implements cpp_introspection::Message.
Definition at line 80 of file accessor.h.
const V_Field& cpp_introspection::Accessor< T >::fields | ( | ) | const [inline, virtual] |
Implements cpp_introspection::Message.
Definition at line 79 of file accessor.h.
VoidConstPtr cpp_introspection::Accessor< T >::getConstInstance | ( | ) | const [inline, virtual] |
Reimplemented from cpp_introspection::Message.
Definition at line 72 of file accessor.h.
const V_FieldName& cpp_introspection::Accessor< T >::getFieldNames | ( | ) | const [inline, virtual] |
Implements cpp_introspection::Message.
Definition at line 81 of file accessor.h.
VoidPtr cpp_introspection::Accessor< T >::getInstance | ( | ) | const [inline, virtual] |
Reimplemented from cpp_introspection::Message.
Definition at line 71 of file accessor.h.
const char* cpp_introspection::Accessor< T >::getName | ( | void | ) | const [inline, virtual] |
Implements cpp_introspection::Message.
Definition at line 76 of file accessor.h.
bool cpp_introspection::Accessor< T >::hasInstance | ( | ) | const [inline, virtual] |
Reimplemented from cpp_introspection::Message.
Definition at line 70 of file accessor.h.
T& cpp_introspection::Accessor< T >::instance | ( | ) | const [inline] |
Definition at line 74 of file accessor.h.
std::size_t cpp_introspection::Accessor< T >::serializationLength | ( | const VoidConstPtr & | ) | const [inline, virtual] |
Reimplemented from cpp_introspection::MessageTemplate< boost::remove_const< T >::type >.
Definition at line 85 of file accessor.h.
void cpp_introspection::Accessor< T >::serialize | ( | ros::serialization::OStream & | stream, |
const VoidConstPtr & | |||
) | const [inline, virtual] |
Reimplemented from cpp_introspection::MessageTemplate< boost::remove_const< T >::type >.
Definition at line 83 of file accessor.h.
ros::SerializedMessage cpp_introspection::Accessor< T >::serialize | ( | const VoidConstPtr & | ) | const [inline, virtual] |
Reimplemented from cpp_introspection::MessageTemplate< boost::remove_const< T >::type >.
Definition at line 84 of file accessor.h.
V_Field cpp_introspection::Accessor< T >::fields_ [private] |
Definition at line 53 of file accessor.h.
M_Field cpp_introspection::Accessor< T >::fields_by_name_ [private] |
Definition at line 54 of file accessor.h.
boost::shared_ptr<T> cpp_introspection::Accessor< T >::instance_ [private] |
Definition at line 52 of file accessor.h.
const Message& cpp_introspection::Accessor< T >::message_ [private] |
Definition at line 51 of file accessor.h.