Public Member Functions | Protected Member Functions
RTT::base::PropertyBagVisitor Class Reference

#include <PropertyBagVisitor.hpp>

Inheritance diagram for RTT::base::PropertyBagVisitor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void introspect (PropertyBase *p)=0
virtual void introspect (Property< PropertyBag > &p)=0
virtual ~PropertyBagVisitor ()

Protected Member Functions

bool introspectAndDecompose (PropertyBase *t)

Detailed Description

A simple introspection interface to visit PropertyBags. A class which implements this interface can call bag.identify( this );. For each property, introspect(PropertyBase* p) is called, unless the property contains a bag, then introspect(Property<PropertyBag>& p) is called, upon which you may call identify again on it's value(). The marshallers use this technique.

See also:
PropertyIntrospection to have a detailed type lookup of a property.
Deprecated:
DO NOT USE. Will be removed in 2.x release series.

Definition at line 60 of file PropertyBagVisitor.hpp.


Constructor & Destructor Documentation

Definition at line 72 of file PropertyBagVisitor.hpp.


Member Function Documentation

virtual void RTT::base::PropertyBagVisitor::introspect ( PropertyBase p) [pure virtual]
virtual void RTT::base::PropertyBagVisitor::introspect ( Property< PropertyBag > &  p) [pure virtual]

The default handler to execute when an unknown type is being decomposed.

Returns:
true when it could be decomposed or converted to int or false otherwise.

Definition at line 49 of file PropertyBagVisitor.cpp.


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


rtt
Author(s): RTT Developers
autogenerated on Thu Jan 2 2014 11:35:43