Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
cpp_introspection::Accessor< T > Class Template Reference

#include <accessor.h>

Inheritance diagram for cpp_introspection::Accessor< T >:
Inheritance graph
[legend]

List of all members.

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_Fieldfields () const
VoidConstPtr getConstInstance () const
const V_FieldNamegetFieldNames () const
VoidPtr getInstance () const
const char * getName () const
const char * getPackageName () const
bool hasInstance () const
T & instance () const
PackagePtr package () 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 Messagemessage_

Detailed Description

template<typename T>
class cpp_introspection::Accessor< T >

Definition at line 45 of file accessor.h.


Member Typedef Documentation

template<typename T >
typedef boost::is_const<T>::type cpp_introspection::Accessor< T >::is_const

Definition at line 48 of file accessor.h.


Constructor & Destructor Documentation

template<typename T >
cpp_introspection::Accessor< T >::Accessor ( const Message message,
const boost::shared_ptr< T > &  instance 
) [inline]

Definition at line 57 of file accessor.h.

template<typename T >
virtual cpp_introspection::Accessor< T >::~Accessor ( ) [inline, virtual]

Definition at line 68 of file accessor.h.


Member Function Documentation

template<typename T >
template<class FieldType >
static FieldPtr cpp_introspection::Accessor< T >::access ( const FieldType &  field,
AccessorBase accessor 
) [inline, static]

Definition at line 137 of file accessor.h.

template<typename T >
VoidPtr cpp_introspection::Accessor< T >::deserialize ( ros::serialization::IStream stream,
const VoidPtr  
) const [inline, virtual]
template<typename T >
FieldWPtr cpp_introspection::Accessor< T >::field ( const std::string &  name) const [inline, virtual]

Implements cpp_introspection::Message.

Definition at line 83 of file accessor.h.

template<typename T >
const V_Field& cpp_introspection::Accessor< T >::fields ( ) const [inline, virtual]

Implements cpp_introspection::Message.

Definition at line 82 of file accessor.h.

template<typename T >
VoidConstPtr cpp_introspection::Accessor< T >::getConstInstance ( ) const [inline, virtual]

Reimplemented from cpp_introspection::Message.

Definition at line 72 of file accessor.h.

template<typename T >
const V_FieldName& cpp_introspection::Accessor< T >::getFieldNames ( ) const [inline, virtual]

Implements cpp_introspection::Message.

Definition at line 84 of file accessor.h.

template<typename T >
VoidPtr cpp_introspection::Accessor< T >::getInstance ( ) const [inline, virtual]

Reimplemented from cpp_introspection::Message.

Definition at line 71 of file accessor.h.

template<typename T >
const char* cpp_introspection::Accessor< T >::getName ( ) const [inline, virtual]

Implements cpp_introspection::Message.

Definition at line 79 of file accessor.h.

template<typename T >
const char* cpp_introspection::Accessor< T >::getPackageName ( ) const [inline, virtual]

Implements cpp_introspection::Message.

Definition at line 77 of file accessor.h.

template<typename T >
bool cpp_introspection::Accessor< T >::hasInstance ( ) const [inline, virtual]

Reimplemented from cpp_introspection::Message.

Definition at line 70 of file accessor.h.

template<typename T >
T& cpp_introspection::Accessor< T >::instance ( ) const [inline]

Definition at line 74 of file accessor.h.

template<typename T >
PackagePtr cpp_introspection::Accessor< T >::package ( ) const [inline, virtual]

Implements cpp_introspection::Message.

Definition at line 76 of file accessor.h.

template<typename T >
std::size_t cpp_introspection::Accessor< T >::serializationLength ( const VoidConstPtr ) const [inline, virtual]
template<typename T >
void cpp_introspection::Accessor< T >::serialize ( ros::serialization::OStream stream,
const VoidConstPtr  
) const [inline, virtual]
template<typename T >
ros::SerializedMessage cpp_introspection::Accessor< T >::serialize ( const VoidConstPtr ) const [inline, virtual]

Member Data Documentation

template<typename T >
V_Field cpp_introspection::Accessor< T >::fields_ [private]

Definition at line 53 of file accessor.h.

template<typename T >
M_Field cpp_introspection::Accessor< T >::fields_by_name_ [private]

Definition at line 54 of file accessor.h.

template<typename T >
boost::shared_ptr<T> cpp_introspection::Accessor< T >::instance_ [private]

Definition at line 52 of file accessor.h.

template<typename T >
const Message& cpp_introspection::Accessor< T >::message_ [private]

Definition at line 51 of file accessor.h.


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


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