Orocos Real-Time Toolkit  2.9.0
Public Member Functions | Protected Member Functions | List of all members
RTT::marsh::PropertyBagIntrospector Class Reference

This class fills up a given bag with the results of an introspection. More...

#include <rtt/marsh/PropertyBagIntrospector.hpp>

Inheritance diagram for RTT::marsh::PropertyBagIntrospector:
RTT::base::PropertyBagVisitor

Public Member Functions

 PropertyBagIntrospector (PropertyBag &bag)
 Create a new Introspector, saving the results in a bag. More...
 
virtual ~PropertyBagIntrospector ()
 
void reset (PropertyBag &new_bag)
 Reset to do a new introspection. More...
 
void introspect (const PropertyBag &v)
 Use this entry function to inspect a bag. More...
 
virtual void introspect (base::PropertyBase *v)
 Callback for a Property which is not a PropertyBag. More...
 
virtual void introspect (Property< PropertyBag > &v)
 Callback for a Property which is a PropertyBag. More...
 

Protected Member Functions

bool introspectAndDecompose (PropertyBase *t)
 The default handler to execute when an unknown type is being decomposed. More...
 

Detailed Description

This class fills up a given bag with the results of an introspection.

Deprecated:
DO NOT USE. Will be removed in 2.x release series.

Definition at line 57 of file PropertyBagIntrospector.hpp.

Constructor & Destructor Documentation

PropertyBagIntrospector::PropertyBagIntrospector ( PropertyBag bag)

Create a new Introspector, saving the results in a bag.

The bag will contain decomposed clones of the original.

Parameters
bagThe bag to safe the results in.

Definition at line 44 of file PropertyBagIntrospector.cpp.

PropertyBagIntrospector::~PropertyBagIntrospector ( )
virtual

Definition at line 49 of file PropertyBagIntrospector.cpp.

Member Function Documentation

void PropertyBagIntrospector::introspect ( const PropertyBag v)

Use this entry function to inspect a bag.

Parameters
vthe properties of this bag will be inspected.

Definition at line 69 of file PropertyBagIntrospector.cpp.

References RTT::PropertyBag::identify().

Referenced by RTT::marsh::PropertyLoader::store().

void PropertyBagIntrospector::introspect ( base::PropertyBase p)
virtual
void PropertyBagIntrospector::introspect ( Property< PropertyBag > &  p)
virtual
bool RTT::PropertyBagVisitor::introspectAndDecompose ( PropertyBase t)
protectedinherited
void PropertyBagIntrospector::reset ( PropertyBag new_bag)

Reset to do a new introspection.

Parameters
new_bagThe new bag to save the results in.

Definition at line 58 of file PropertyBagIntrospector.cpp.


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