#include <PropertyBagVisitor.hpp>
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) |
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.
Definition at line 60 of file PropertyBagVisitor.hpp.
virtual RTT::base::PropertyBagVisitor::~PropertyBagVisitor | ( | ) | [inline, virtual] |
Definition at line 72 of file PropertyBagVisitor.hpp.
virtual void RTT::base::PropertyBagVisitor::introspect | ( | PropertyBase * | p | ) | [pure virtual] |
Callback for a Property which is not a PropertyBag.
Implemented in RTT::marsh::CPFMarshaller< std::ostream >, RTT::marsh::PropertyBagIntrospector, and RTT::base::PropertyIntrospection.
virtual void RTT::base::PropertyBagVisitor::introspect | ( | Property< PropertyBag > & | p | ) | [pure virtual] |
Callback for a Property which is a PropertyBag.
Implemented in RTT::marsh::CPFMarshaller< std::ostream >, and RTT::marsh::PropertyBagIntrospector.
bool RTT::PropertyBagVisitor::introspectAndDecompose | ( | PropertyBase * | t | ) | [protected] |
The default handler to execute when an unknown type is being decomposed.
Definition at line 49 of file PropertyBagVisitor.cpp.