This class fills up a given bag with the results of an introspection. More...
#include <PropertyBagIntrospector.hpp>
Public Member Functions | |
void | introspect (const PropertyBag &v) |
virtual void | introspect (base::PropertyBase *v) |
virtual void | introspect (Property< PropertyBag > &v) |
PropertyBagIntrospector (PropertyBag &bag) | |
Create a new Introspector, saving the results in a bag. More... | |
void | reset (PropertyBag &new_bag) |
virtual | ~PropertyBagIntrospector () |
Public Member Functions inherited from RTT::base::PropertyBagVisitor | |
virtual | ~PropertyBagVisitor () |
Private Attributes | |
std::stack< PropertyBag * > | mystack |
Additional Inherited Members | |
Protected Member Functions inherited from RTT::base::PropertyBagVisitor | |
bool | introspectAndDecompose (PropertyBase *t) |
This class fills up a given bag with the results of an introspection.
Definition at line 57 of file PropertyBagIntrospector.hpp.
PropertyBagIntrospector::PropertyBagIntrospector | ( | PropertyBag & | bag | ) |
Create a new Introspector, saving the results in a bag.
The bag will contain decomposed clones of the original.
bag | The bag to safe the results in. |
Definition at line 44 of file PropertyBagIntrospector.cpp.
|
virtual |
Definition at line 49 of file PropertyBagIntrospector.cpp.
void PropertyBagIntrospector::introspect | ( | const PropertyBag & | v | ) |
Use this entry function to inspect a bag.
v | the properties of this bag will be inspected. |
Definition at line 69 of file PropertyBagIntrospector.cpp.
|
virtual |
Callback for a Property which is not a PropertyBag.
Implements RTT::base::PropertyBagVisitor.
Definition at line 74 of file PropertyBagIntrospector.cpp.
|
virtual |
Callback for a Property which is a PropertyBag.
Implements RTT::base::PropertyBagVisitor.
Definition at line 83 of file PropertyBagIntrospector.cpp.
void PropertyBagIntrospector::reset | ( | PropertyBag & | new_bag | ) |
Reset to do a new introspection.
new_bag | The new bag to save the results in. |
Definition at line 58 of file PropertyBagIntrospector.cpp.
|
private |
Definition at line 60 of file PropertyBagIntrospector.hpp.