#include <TemplateValueFactory.hpp>
Public Types | |
typedef T | DataType |
Public Member Functions | |
base::DataSourceBase::shared_ptr | buildActionAlias (base::ActionInterface *action, base::DataSourceBase::shared_ptr in) const |
base::AttributeBase * | buildAlias (std::string name, base::DataSourceBase::shared_ptr in) const |
base::AttributeBase * | buildAttribute (std::string name, base::DataSourceBase::shared_ptr in) const |
base::AttributeBase * | buildConstant (std::string name, base::DataSourceBase::shared_ptr dsb) const |
virtual base::PropertyBase * | buildProperty (const std::string &name, const std::string &desc, base::DataSourceBase::shared_ptr source=0) const |
virtual base::DataSourceBase::shared_ptr | buildReference (void *ptr) const |
virtual base::DataSourceBase::shared_ptr | buildValue () const |
base::AttributeBase * | buildVariable (std::string name) const |
Definition at line 15 of file TemplateValueFactory.hpp.
typedef T RTT::types::TemplateValueFactory< T >::DataType |
Reimplemented in RTT::types::PrimitiveTypeInfo< T, use_ostream >, RTT::types::PrimitiveTypeInfo< bool, use_ostream >, RTT::types::PrimitiveTypeInfo< T, has_ostream >, RTT::types::PrimitiveTypeInfo< rt_string, use_ostream >, RTT::types::PrimitiveTypeInfo< std::vector< double >, use_ostream >, RTT::types::PrimitiveTypeInfo< std::string, use_ostream >, and RTT::types::PrimitiveTypeInfo< std::vector< T >, use_ostream >.
Definition at line 19 of file TemplateValueFactory.hpp.
base::DataSourceBase::shared_ptr RTT::types::TemplateValueFactory< T >::buildActionAlias | ( | base::ActionInterface * | action, |
base::DataSourceBase::shared_ptr | source | ||
) | const [inline, virtual] |
Returns a DataSource that first executes an action and returns the result of another data source. If source is an AssignableDataSource, an AssignableDataSource is returned of the same type, otherwise, a plain DataSource is returned.
Implements RTT::types::ValueFactory.
Definition at line 62 of file TemplateValueFactory.hpp.
base::AttributeBase* RTT::types::TemplateValueFactory< T >::buildAlias | ( | std::string | name, |
base::DataSourceBase::shared_ptr | b | ||
) | const [inline, virtual] |
build an alias with b as the value. If b is of the wrong type, 0 will be returned..
Implements RTT::types::ValueFactory.
Definition at line 54 of file TemplateValueFactory.hpp.
base::AttributeBase* RTT::types::TemplateValueFactory< T >::buildAttribute | ( | std::string | name, |
base::DataSourceBase::shared_ptr | source | ||
) | const [inline, virtual] |
Build an Attribute of this type.
Implements RTT::types::ValueFactory.
Definition at line 40 of file TemplateValueFactory.hpp.
base::AttributeBase* RTT::types::TemplateValueFactory< T >::buildConstant | ( | std::string | name, |
base::DataSourceBase::shared_ptr | dsb | ||
) | const [inline, virtual] |
Implements RTT::types::ValueFactory.
Definition at line 20 of file TemplateValueFactory.hpp.
virtual base::PropertyBase* RTT::types::TemplateValueFactory< T >::buildProperty | ( | const std::string & | name, |
const std::string & | desc, | ||
base::DataSourceBase::shared_ptr | source = 0 |
||
) | const [inline, virtual] |
Build a Property of this type.
Implements RTT::types::ValueFactory.
Definition at line 74 of file TemplateValueFactory.hpp.
virtual base::DataSourceBase::shared_ptr RTT::types::TemplateValueFactory< T >::buildReference | ( | void * | ptr | ) | const [inline, virtual] |
Build a internal::ReferenceDataSource of this type, pointing to the given pointer
Implements RTT::types::ValueFactory.
Definition at line 90 of file TemplateValueFactory.hpp.
virtual base::DataSourceBase::shared_ptr RTT::types::TemplateValueFactory< T >::buildValue | ( | ) | const [inline, virtual] |
Build a internal::ValueDataSource of this type.
Implements RTT::types::ValueFactory.
Definition at line 87 of file TemplateValueFactory.hpp.
base::AttributeBase* RTT::types::TemplateValueFactory< T >::buildVariable | ( | std::string | name | ) | const [inline, virtual] |
Implements RTT::types::ValueFactory.
Definition at line 33 of file TemplateValueFactory.hpp.