#include <PropertyIntrospection.hpp>
Public Member Functions | |
template<class T > | |
void | introspect (Property< T > &v) |
virtual void | introspect (Property< std::string > &v)=0 |
virtual void | introspect (Property< double > &v)=0 |
virtual void | introspect (Property< unsigned int > &v)=0 |
virtual void | introspect (Property< int > &v)=0 |
virtual void | introspect (Property< char > &v)=0 |
virtual void | introspect (Property< bool > &v)=0 |
template<class T > | |
void | introspect (Property< T > &v) |
virtual void | introspect (Property< std::string > &v)=0 |
virtual void | introspect (Property< double > &v)=0 |
virtual void | introspect (Property< unsigned int > &v)=0 |
virtual void | introspect (Property< int > &v)=0 |
virtual void | introspect (Property< char > &v)=0 |
virtual void | introspect (Property< bool > &v)=0 |
virtual | ~PropertyIntrospection () |
virtual | ~PropertyIntrospection () |
Protected Member Functions | |
virtual void | introspect (PropertyBase *p) |
virtual void | introspect (PropertyBase *p) |
void | introspect_T (PropertyBase *p) |
void | introspect_T (PropertyBase *p) |
An interface which all classes which wish to visit a Property should implement. When you call PropertyBase::identify( PropertyIntrospection* ), the object will call one of below methods to expose its type to the caller.
An interface which all classes which wish to visit a Property should implement. When you call PropertyBase::identify( PropertyIntrospection* ), the object will call one of below methods to expose its type to the caller.
Definition at line 58 of file install/include/rtt/base/PropertyIntrospection.hpp.
virtual RTT::base::PropertyIntrospection::~PropertyIntrospection | ( | ) | [inline, virtual] |
Definition at line 50 of file install/include/rtt/base/PropertyIntrospection.hpp.
virtual RTT::base::PropertyIntrospection::~PropertyIntrospection | ( | ) | [inline, virtual] |
Definition at line 68 of file rtt/base/PropertyIntrospection.hpp.
void RTT::base::PropertyIntrospection::introspect | ( | Property< T > & | v | ) | [inline] |
Unknown types must decompose theirselves into the primitives.
virtual void RTT::base::PropertyIntrospection::introspect | ( | Property< std::string > & | v | ) | [pure virtual] |
introspect a property of type string.
v | The property to be introspectd. |
Implemented in RTT::marsh::CPFMarshaller< std::ostream >, and RTT::marsh::CPFMarshaller< std::ostream >.
virtual void RTT::base::PropertyIntrospection::introspect | ( | Property< double > & | v | ) | [pure virtual] |
introspect a property of type double.
v | The property to be introspectd. |
Implemented in RTT::marsh::CPFMarshaller< std::ostream >, and RTT::marsh::CPFMarshaller< std::ostream >.
virtual void RTT::base::PropertyIntrospection::introspect | ( | Property< unsigned int > & | v | ) | [pure virtual] |
introspect a property of type unsigned int.
v | The property to be introspectd. |
Implemented in RTT::marsh::CPFMarshaller< std::ostream >, and RTT::marsh::CPFMarshaller< std::ostream >.
virtual void RTT::base::PropertyIntrospection::introspect | ( | Property< int > & | v | ) | [pure virtual] |
introspect a property of type int.
v | The property to be introspectd. |
Implemented in RTT::marsh::CPFMarshaller< std::ostream >, and RTT::marsh::CPFMarshaller< std::ostream >.
virtual void RTT::base::PropertyIntrospection::introspect | ( | Property< char > & | v | ) | [pure virtual] |
introspect a property of type char.
v | The property to be introspectd. |
Implemented in RTT::marsh::CPFMarshaller< std::ostream >, and RTT::marsh::CPFMarshaller< std::ostream >.
virtual void RTT::base::PropertyIntrospection::introspect | ( | Property< bool > & | v | ) | [pure virtual] |
introspect a property of type bool.
v | The property to be introspectd. |
Implemented in RTT::marsh::CPFMarshaller< std::ostream >, and RTT::marsh::CPFMarshaller< std::ostream >.
virtual void RTT::base::PropertyIntrospection::introspect | ( | PropertyBase * | p | ) | [protected, virtual] |
Callback for a Property which is not a PropertyBag.
Implements RTT::base::PropertyBagVisitor.
Reimplemented in RTT::marsh::CPFMarshaller< std::ostream >, and RTT::marsh::CPFMarshaller< std::ostream >.
void RTT::base::PropertyIntrospection::introspect | ( | Property< T > & | v | ) | [inline] |
Unknown types must decompose theirselves into the primitives.
virtual void RTT::base::PropertyIntrospection::introspect | ( | Property< std::string > & | v | ) | [pure virtual] |
introspect a property of type string.
v | The property to be introspectd. |
Implemented in RTT::marsh::CPFMarshaller< std::ostream >, and RTT::marsh::CPFMarshaller< std::ostream >.
virtual void RTT::base::PropertyIntrospection::introspect | ( | Property< double > & | v | ) | [pure virtual] |
introspect a property of type double.
v | The property to be introspectd. |
Implemented in RTT::marsh::CPFMarshaller< std::ostream >, and RTT::marsh::CPFMarshaller< std::ostream >.
virtual void RTT::base::PropertyIntrospection::introspect | ( | Property< unsigned int > & | v | ) | [pure virtual] |
introspect a property of type unsigned int.
v | The property to be introspectd. |
Implemented in RTT::marsh::CPFMarshaller< std::ostream >, and RTT::marsh::CPFMarshaller< std::ostream >.
virtual void RTT::base::PropertyIntrospection::introspect | ( | Property< int > & | v | ) | [pure virtual] |
introspect a property of type int.
v | The property to be introspectd. |
Implemented in RTT::marsh::CPFMarshaller< std::ostream >, and RTT::marsh::CPFMarshaller< std::ostream >.
virtual void RTT::base::PropertyIntrospection::introspect | ( | Property< char > & | v | ) | [pure virtual] |
introspect a property of type char.
v | The property to be introspectd. |
Implemented in RTT::marsh::CPFMarshaller< std::ostream >, and RTT::marsh::CPFMarshaller< std::ostream >.
virtual void RTT::base::PropertyIntrospection::introspect | ( | Property< bool > & | v | ) | [pure virtual] |
introspect a property of type bool.
v | The property to be introspectd. |
Implemented in RTT::marsh::CPFMarshaller< std::ostream >, and RTT::marsh::CPFMarshaller< std::ostream >.
void RTT::PropertyIntrospection::introspect | ( | PropertyBase * | p | ) | [protected, virtual] |
Callback for a Property which is not a PropertyBag.
Implements RTT::base::PropertyBagVisitor.
Reimplemented in RTT::marsh::CPFMarshaller< std::ostream >, and RTT::marsh::CPFMarshaller< std::ostream >.
Definition at line 58 of file Property.cpp.
void RTT::base::PropertyIntrospection::introspect_T | ( | PropertyBase * | p | ) | [protected] |
void RTT::PropertyIntrospection::introspect_T | ( | PropertyBase * | p | ) | [protected] |
Definition at line 63 of file Property.cpp.