Public Member Functions | Private Attributes | List of all members
RTT::marsh::PropertyBagIntrospector Class Reference

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

#include <PropertyBagIntrospector.hpp>

Inheritance diagram for RTT::marsh::PropertyBagIntrospector:
Inheritance graph
[legend]

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)
 

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.

void PropertyBagIntrospector::introspect ( base::PropertyBase p)
virtual

Callback for a Property which is not a PropertyBag.

Implements RTT::base::PropertyBagVisitor.

Definition at line 74 of file PropertyBagIntrospector.cpp.

void PropertyBagIntrospector::introspect ( Property< PropertyBag > &  p)
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.

Parameters
new_bagThe new bag to save the results in.

Definition at line 58 of file PropertyBagIntrospector.cpp.

Member Data Documentation

std::stack<PropertyBag*> RTT::marsh::PropertyBagIntrospector::mystack
private

Definition at line 60 of file PropertyBagIntrospector.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:47