39 #include "../types/Types.hpp" 61 mystack.push( &new_bag );
80 mystack.top()->add( v->
clone() );
90 cur_bag->
add( bag_cl );
92 mystack.push( &bag_cl->
value() );
94 v.
value().identify(
this);
DataSourceType get() const
Get a copy of the value of the property.
void add(base::PropertyBase *p)
Add a valid property to the container.
virtual ~PropertyBagIntrospector()
Base class for all properties.
A container for holding references to properties.
reference_t value()
Access to the value of the Property.
void introspect(const PropertyBag &v)
Use this entry function to inspect a bag.
Convenient short notation for every sub-namespace of RTT.
A property represents a named value of any type with a description.
const std::string & getDescription() const
Get a description of the property.
void identify(base::PropertyIntrospection *pi) const
Identify the contents of this bag through introspection.
const std::string & getName() const
Get the name of the property.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
bool introspectAndDecompose(PropertyBase *t)
The default handler to execute when an unknown type is being decomposed.
void reset(PropertyBag &new_bag)
Reset to do a new introspection.
PropertyBagIntrospector(PropertyBag &bag)
Create a new Introspector, saving the results in a bag.
virtual PropertyBase * clone() const =0
Deliver an identical clone of this PropertyBase.