An interface which all classes which wish to visit a Property should implement.
More...
#include <rtt/base/PropertyIntrospection.hpp>
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.
- See also
- Property
-
PropertyBag
-
PropertyBagVisitor to only browse the contents of a PropertyBag hierarchy.
- Deprecated:
- DO NOT USE. Will be removed in 2.x release series.
Definition at line 60 of file PropertyIntrospection.hpp.
virtual RTT::base::PropertyIntrospection::~PropertyIntrospection |
( |
| ) |
|
|
inlinevirtual |
void RTT::PropertyIntrospection::introspect |
( |
PropertyBase * |
p | ) |
|
|
protectedvirtual |
virtual void RTT::base::PropertyIntrospection::introspect |
( |
Property< bool > & |
v | ) |
|
|
pure virtual |
introspect a property of type bool.
- Parameters
-
v | The property to be introspected. |
virtual void RTT::base::PropertyIntrospection::introspect |
( |
Property< char > & |
v | ) |
|
|
pure virtual |
introspect a property of type char.
- Parameters
-
v | The property to be introspected. |
virtual void RTT::base::PropertyIntrospection::introspect |
( |
Property< int > & |
v | ) |
|
|
pure virtual |
introspect a property of type int.
- Parameters
-
v | The property to be introspected. |
virtual void RTT::base::PropertyIntrospection::introspect |
( |
Property< unsigned int > & |
v | ) |
|
|
pure virtual |
introspect a property of type unsigned int.
- Parameters
-
v | The property to be introspected. |
virtual void RTT::base::PropertyIntrospection::introspect |
( |
Property< long long > & |
v | ) |
|
|
pure virtual |
introspect a property of type long long.
- Parameters
-
v | The property to be introspected. |
virtual void RTT::base::PropertyIntrospection::introspect |
( |
Property< unsigned long long > & |
v | ) |
|
|
pure virtual |
introspect a property of type unsigned long long.
- Parameters
-
v | The property to be introspected. |
virtual void RTT::base::PropertyIntrospection::introspect |
( |
Property< double > & |
v | ) |
|
|
pure virtual |
introspect a property of type double.
- Parameters
-
v | The property to be introspected. |
virtual void RTT::base::PropertyIntrospection::introspect |
( |
Property< std::string > & |
v | ) |
|
|
pure virtual |
introspect a property of type string.
- Parameters
-
v | The property to be introspected. |
template<class T >
void RTT::base::PropertyIntrospection::introspect |
( |
Property< T > & |
v | ) |
|
void RTT::PropertyIntrospection::introspect_T |
( |
PropertyBase * |
p | ) |
|
|
protected |
This function is called for any Property unknown to the introspection interface.
It will basically call the generic decomposition function, and if that fails, pass p to introspect() where the subclass has a last chance to handle it.
Definition at line 63 of file Property.cpp.
Referenced by introspect().
bool RTT::PropertyBagVisitor::introspectAndDecompose |
( |
PropertyBase * |
t | ) |
|
|
protectedinherited |
The documentation for this class was generated from the following files: