#include <Attribute.hpp>

| Public Member Functions | |
| Alias (const std::string &name, base::DataSourceBase::shared_ptr d) | |
| template<class Owner > | |
| Alias (const std::string &name, base::DataSourceBase::shared_ptr d, Owner owner) | |
| Alias * | clone () const | 
| Alias * | copy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &replacements, bool) | 
| base::DataSourceBase::shared_ptr | getDataSource () const | 
|  Public Member Functions inherited from RTT::base::AttributeBase | |
| AttributeBase () | |
| AttributeBase (const std::string &name) | |
| virtual AttributeBase * | copy (std::map< const DataSourceBase *, DataSourceBase * > &replacements, bool instantiate)=0 | 
| const std::string & | getName () const | 
| bool | ready () const | 
| void | setName (std::string const &new_name) | 
| virtual | ~AttributeBase () | 
| Private Attributes | |
| base::DataSourceBase::shared_ptr | data | 
| Additional Inherited Members | |
|  Protected Attributes inherited from RTT::base::AttributeBase | |
| std::string | mname | 
This class is the most basic Attribute implementation (only suitable for reading a internal::DataSource), does not allow any assignment, just stores a internal::DataSourceBase, and returns it. This also makes it useful as an alias of temporary expressions like literal values, and rhs expressions.
Definition at line 375 of file Attribute.hpp.
| RTT::Alias::Alias | ( | const std::string & | name, | 
| base::DataSourceBase::shared_ptr | d | ||
| ) | 
Definition at line 69 of file Attribute.cpp.
| 
 | inline | 
Create an alias from a datasource with an owner. The owner is used to register this attribute to and is supposed to be a pointer (or shared pointer).
| name | The name of this instance. | 
| d | The aliased data source. | 
| o | The owner, which has a function 'addAttribute(AttributeBase*)'. | 
Definition at line 392 of file Attribute.hpp.
| 
 | virtual | 
Returns a clone of this AttributeBase.
Implements RTT::base::AttributeBase.
Definition at line 80 of file Attribute.cpp.
| Alias * RTT::Alias::copy | ( | std::map< const base::DataSourceBase *, base::DataSourceBase * > & | replacements, | 
| bool | |||
| ) | 
Definition at line 84 of file Attribute.cpp.
| 
 | virtual | 
Return a internal::DataSource which contains the same contents.
Implements RTT::base::AttributeBase.
Definition at line 75 of file Attribute.cpp.
| 
 | private | 
Definition at line 378 of file Attribute.hpp.