RTT::base::PropertyBase Class Reference

#include <PropertyBase.hpp>

Inheritance diagram for RTT::base::PropertyBase:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual PropertyBaseclone () const =0
virtual PropertyBaseclone () const =0
virtual bool compose (const PropertyBag &source)
virtual bool compose (const PropertyBag &source)
virtual bool copy (const PropertyBase *other)=0
virtual bool copy (const PropertyBase *other)=0
virtual PropertyBasecreate () const =0
virtual PropertyBasecreate () const =0
virtual DataSourceBase::shared_ptr getDataSource () const =0
virtual DataSourceBase::shared_ptr getDataSource () const =0
const std::string & getDescription () const
const std::string & getDescription () const
const std::string & getName () const
const std::string & getName () const
virtual std::string getType () const =0
virtual std::string getType () const =0
virtual const types::TypeInfogetTypeInfo () const =0
virtual const types::TypeInfogetTypeInfo () const =0
virtual void identify (PropertyBagVisitor *pi)
virtual void identify (PropertyIntrospection *pi)=0
virtual void identify (PropertyBagVisitor *pi)
virtual void identify (PropertyIntrospection *pi)=0
 PropertyBase ()
 PropertyBase (std::string name, std::string description)
 PropertyBase ()
 PropertyBase (std::string name, std::string description)
bool ready () const
bool ready () const
virtual bool refresh (const PropertyBase *other)=0
virtual bool refresh (const PropertyBase *other)=0
void setDescription (const std::string &desc)
void setDescription (const std::string &desc)
void setName (const std::string &name)
void setName (const std::string &name)
virtual bool update (const PropertyBase *other)=0
virtual bool update (const PropertyBase *other)=0
virtual ~PropertyBase ()
virtual ~PropertyBase ()

Protected Attributes

std::string _description
std::string _name

Detailed Description

Base class for all properties.

Definition at line 56 of file install/include/rtt/base/PropertyBase.hpp.


Constructor & Destructor Documentation

RTT::PropertyBase::~PropertyBase (  )  [virtual]

The default destructor.

Definition at line 49 of file PropertyBase.cpp.

RTT::PropertyBase::PropertyBase ( std::string  name,
std::string  description 
)

The constructor.

Parameters:
name The name which will be used to refer to this property.
description A more elaborate description of the property.

Definition at line 55 of file PropertyBase.cpp.

RTT::PropertyBase::PropertyBase (  ) 

Create an uninitialised PropertyBase.

Definition at line 52 of file PropertyBase.cpp.

virtual RTT::base::PropertyBase::~PropertyBase (  )  [virtual]

The default destructor.

RTT::base::PropertyBase::PropertyBase ( std::string  name,
std::string  description 
)

The constructor.

Parameters:
name The name which will be used to refer to this property.
description A more elaborate description of the property.
RTT::base::PropertyBase::PropertyBase (  ) 

Create an uninitialised PropertyBase.


Member Function Documentation

virtual PropertyBase* RTT::base::PropertyBase::clone (  )  const [pure virtual]
virtual PropertyBase* RTT::base::PropertyBase::clone (  )  const [pure virtual]
virtual bool RTT::base::PropertyBase::compose ( const PropertyBag source  )  [virtual]

Composes the data of this property with information found in a PropertyBag. This only works for data types that defined a compose/decompose function in their type info structure.

bool RTT::PropertyBase::compose ( const PropertyBag source  )  [virtual]

Composes the data of this property with information found in a PropertyBag. This only works for data types that defined a compose/decompose function in their type info structure.

Definition at line 80 of file PropertyBase.cpp.

virtual bool RTT::base::PropertyBase::copy ( const PropertyBase other  )  [pure virtual]
virtual bool RTT::base::PropertyBase::copy ( const PropertyBase other  )  [pure virtual]
virtual PropertyBase* RTT::base::PropertyBase::create (  )  const [pure virtual]
virtual PropertyBase* RTT::base::PropertyBase::create (  )  const [pure virtual]
virtual DataSourceBase::shared_ptr RTT::base::PropertyBase::getDataSource (  )  const [pure virtual]
virtual DataSourceBase::shared_ptr RTT::base::PropertyBase::getDataSource (  )  const [pure virtual]
const std::string& RTT::base::PropertyBase::getDescription ( void   )  const [inline]

Get a description of the property.

Returns:
description of the property.

Definition at line 94 of file rtt/base/PropertyBase.hpp.

const std::string& RTT::base::PropertyBase::getDescription (  )  const [inline]

Get a description of the property.

Returns:
description of the property.

Definition at line 94 of file install/include/rtt/base/PropertyBase.hpp.

const std::string& RTT::base::PropertyBase::getName ( void   )  const [inline]

Get the name of the property.

Returns:
name of the property.

Definition at line 82 of file rtt/base/PropertyBase.hpp.

const std::string& RTT::base::PropertyBase::getName (  )  const [inline]

Get the name of the property.

Returns:
name of the property.

Definition at line 82 of file install/include/rtt/base/PropertyBase.hpp.

virtual std::string RTT::base::PropertyBase::getType (  )  const [pure virtual]
virtual std::string RTT::base::PropertyBase::getType (  )  const [pure virtual]
virtual const types::TypeInfo* RTT::base::PropertyBase::getTypeInfo (  )  const [pure virtual]
virtual const types::TypeInfo* RTT::base::PropertyBase::getTypeInfo (  )  const [pure virtual]
virtual void RTT::base::PropertyBase::identify ( PropertyBagVisitor pi  )  [virtual]
virtual void RTT::base::PropertyBase::identify ( PropertyIntrospection pi  )  [pure virtual]
void RTT::PropertyBase::identify ( PropertyBagVisitor pi  )  [virtual]
virtual void RTT::base::PropertyBase::identify ( PropertyIntrospection pi  )  [pure virtual]
bool RTT::base::PropertyBase::ready ( void   )  const [inline]

Inspect if this Property is correctly initialised and ready for usage. A Property may only be used when ready() returns true, otherwise, an exception is thrown.

Definition at line 108 of file rtt/base/PropertyBase.hpp.

bool RTT::base::PropertyBase::ready (  )  const [inline]

Inspect if this Property is correctly initialised and ready for usage. A Property may only be used when ready() returns true, otherwise, an exception is thrown.

Definition at line 108 of file install/include/rtt/base/PropertyBase.hpp.

virtual bool RTT::base::PropertyBase::refresh ( const PropertyBase other  )  [pure virtual]
virtual bool RTT::base::PropertyBase::refresh ( const PropertyBase other  )  [pure virtual]
void RTT::base::PropertyBase::setDescription ( const std::string &  desc  ) 

Set the description of the property.

Parameters:
desc The description of the property.
void RTT::PropertyBase::setDescription ( const std::string &  desc  ) 

Set the description of the property.

Parameters:
desc The description of the property.

Definition at line 64 of file PropertyBase.cpp.

void RTT::base::PropertyBase::setName ( const std::string &  name  ) 

Set the name of the property.

Parameters:
name The name of the property.
void RTT::PropertyBase::setName ( const std::string &  name  ) 

Set the name of the property.

Parameters:
name The name of the property.

Definition at line 59 of file PropertyBase.cpp.

virtual bool RTT::base::PropertyBase::update ( const PropertyBase other  )  [pure virtual]
virtual bool RTT::base::PropertyBase::update ( const PropertyBase other  )  [pure virtual]

Member Data Documentation

std::string RTT::base::PropertyBase::_description [protected]

A lengthy description for this PropertyBase.

Definition at line 208 of file install/include/rtt/base/PropertyBase.hpp.

std::string RTT::base::PropertyBase::_name [protected]

A short name for this PropertyBase.

Definition at line 203 of file install/include/rtt/base/PropertyBase.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtt
Author(s): RTT Developers
autogenerated on Fri Jan 11 09:49:52 2013