Public Member Functions | Protected Member Functions | List of all members
RTT::base::PropertyBagVisitor Class Referenceabstract

#include <PropertyBagVisitor.hpp>

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

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

virtual RTT::base::PropertyBagVisitor::~PropertyBagVisitor ( )
inlinevirtual

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
bool RTT::PropertyBagVisitor::introspectAndDecompose ( PropertyBase t)
protected

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 Fri Oct 25 2019 03:59:46