38 #ifndef PI_PROPERTYBASE 39 #define PI_PROPERTYBASE 45 #ifdef ORO_PRAGMA_INTERFACE 71 PropertyBase( std::string name, std::string description);
88 const std::string&
getName()
const {
return _name; }
94 void setName(
const std::string& name);
106 void setDescription(
const std::string& desc);
114 bool ready()
const {
return this->getDataSource().get() != 0; }
212 virtual std::string getType()
const = 0;
bool ready() const
Inspect if this Property is correctly initialised and ready for usage.
Base class for all properties.
A container for holding references to properties.
std::string _name
A short name for this PropertyBase.
A simple introspection interface to visit PropertyBags.
RTT_API std::ostream & operator<<(std::ostream &os, DataSourceBase::shared_ptr dsb)
Stream the contents of this object.
A class for representing a user type, and which can build instances of that type. ...
const std::string & getDescription() const
Get a description of the property.
An interface which all classes which wish to visit a Property should implement.
std::string _description
A lengthy description for this PropertyBase.
const std::string & getName() const
Get the name of the property.
boost::intrusive_ptr< DataSourceBase > shared_ptr
Use this type to store a pointer to a DataSourceBase.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.