|
Orocos Real-Time Toolkit
2.5.0
|
This class fills up a given bag with the results of an introspection. More...
#include <rtt/marsh/PropertyBagIntrospector.hpp>
Public Member Functions | |
| PropertyBagIntrospector (PropertyBag &bag) | |
| Create a new Introspector, saving the results in a bag. | |
| void | reset (PropertyBag &new_bag) |
| Reset to do a new introspection. | |
| void | introspect (const PropertyBag &v) |
| Use this entry function to inspect a bag. | |
| virtual void | introspect (base::PropertyBase *v) |
| Callback for a Property which is not a PropertyBag. | |
| virtual void | introspect (Property< PropertyBag > &v) |
| Callback for a Property which is a PropertyBag. | |
Protected Member Functions | |
| bool | introspectAndDecompose (PropertyBase *t) |
| The default handler to execute when an unknown type is being decomposed. | |
This class fills up a given bag with the results of an introspection.
Definition at line 57 of file PropertyBagIntrospector.hpp.
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.
| 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.
References RTT::PropertyBag::identify().
Referenced by RTT::marsh::PropertyLoader::store().
| bool RTT::PropertyBagVisitor::introspectAndDecompose | ( | PropertyBase * | t | ) | [protected, inherited] |
The default handler to execute when an unknown type is being decomposed.
Definition at line 49 of file PropertyBagVisitor.cpp.
References RTT::types::TypeInfo::buildProperty(), RTT::types::TypeInfo::decomposeType(), RTT::deletePropertyBag(), RTT::base::PropertyBase::getDataSource(), RTT::base::PropertyBase::getDescription(), RTT::base::PropertyBase::getName(), RTT::base::PropertyBase::getTypeInfo(), RTT::base::PropertyBagVisitor::introspect(), and RTT::types::propertyDecomposition().
Referenced by RTT::base::PropertyIntrospection::introspect_T().
| 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.
1.7.6.1