RTT::PropertyIntrospection Class Reference

An interface which all classes which wish to visit a Property should implement. More...

#include <rtt/PropertyIntrospection.hpp>

Inheritance diagram for RTT::PropertyIntrospection:
RTT::PropertyBagVisitor RTT::CPFMarshaller< std::ostream > RTT::Orocos1Marshaller< output_stream > RTT::SimpleMarshaller< o_stream > RTT::XMLMarshaller< o_stream > RTT::XMLRPCMarshaller< output_stream >

List of all members.

Public Member Functions

virtual void introspect (Property< bool > &v)=0
 introspect a property of type bool.
virtual void introspect (Property< char > &v)=0
 introspect a property of type char.
virtual void introspect (Property< int > &v)=0
 introspect a property of type int.
virtual void introspect (Property< unsigned int > &v)=0
 introspect a property of type unsigned int.
virtual void introspect (Property< double > &v)=0
 introspect a property of type double.
virtual void introspect (Property< std::string > &v)=0
 introspect a property of type string.
template<class T >
void introspect (Property< T > &v)
 Unknown types must decompose theirselves into the primitives.
virtual void introspect (Property< PropertyBag > &p)=0
 Callback for a Property which is a PropertyBag.

Protected Member Functions

virtual void introspect (PropertyBase *p)
 Callback for a Property which is not a PropertyBag.
void introspect_T (PropertyBase *t)
 The default handler to execute when an unknown type is being decomposed.

Detailed Description

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.

Definition at line 91 of file PropertyIntrospection.hpp.


Member Function Documentation

template<class T >
void RTT::PropertyIntrospection::introspect ( Property< T > &  v  )  [inline]

Unknown types must decompose theirselves into the primitives.

See also:
TemplateTypeInfo

Definition at line 49 of file PropertyIntrospection.inl.

References introspect_T().

virtual void RTT::PropertyIntrospection::introspect ( Property< std::string > &  v  )  [pure virtual]

introspect a property of type string.

Parameters:
v The property to be introspectd.

Implemented in RTT::Orocos1Marshaller< output_stream >, and RTT::XMLMarshaller< o_stream >.

virtual void RTT::PropertyIntrospection::introspect ( Property< double > &  v  )  [pure virtual]

introspect a property of type double.

Parameters:
v The property to be introspectd.

Implemented in RTT::Orocos1Marshaller< output_stream >, and RTT::XMLMarshaller< o_stream >.

virtual void RTT::PropertyIntrospection::introspect ( Property< unsigned int > &  v  )  [pure virtual]

introspect a property of type unsigned int.

Parameters:
v The property to be introspectd.

Implemented in RTT::Orocos1Marshaller< output_stream >, and RTT::XMLMarshaller< o_stream >.

virtual void RTT::PropertyIntrospection::introspect ( Property< int > &  v  )  [pure virtual]

introspect a property of type int.

Parameters:
v The property to be introspectd.

Implemented in RTT::Orocos1Marshaller< output_stream >, and RTT::XMLMarshaller< o_stream >.

virtual void RTT::PropertyIntrospection::introspect ( Property< char > &  v  )  [pure virtual]

introspect a property of type char.

Parameters:
v The property to be introspectd.

Implemented in RTT::Orocos1Marshaller< output_stream >, and RTT::XMLMarshaller< o_stream >.

virtual void RTT::PropertyIntrospection::introspect ( Property< bool > &  v  )  [pure virtual]

introspect a property of type bool.

Parameters:
v The property to be introspectd.

Implemented in RTT::Orocos1Marshaller< output_stream >, and RTT::XMLMarshaller< o_stream >.


The documentation for this class was generated from the following files:
Generated on Thu Dec 23 13:22:44 2010 for Orocos Real-Time Toolkit by  doxygen 1.6.3