Public Types | Public Member Functions
RTT::types::TemplateValueFactory< T > Class Template Reference

#include <TemplateValueFactory.hpp>

Inheritance diagram for RTT::types::TemplateValueFactory< T >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef T DataType

Public Member Functions

base::DataSourceBase::shared_ptr buildActionAlias (base::ActionInterface *action, base::DataSourceBase::shared_ptr in) const
base::AttributeBasebuildAlias (std::string name, base::DataSourceBase::shared_ptr in) const
base::AttributeBasebuildAttribute (std::string name, base::DataSourceBase::shared_ptr in) const
base::AttributeBasebuildConstant (std::string name, base::DataSourceBase::shared_ptr dsb) const
virtual base::PropertyBasebuildProperty (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::AttributeBasebuildVariable (std::string name) const

Detailed Description

template<class T>
class RTT::types::TemplateValueFactory< T >

Definition at line 15 of file TemplateValueFactory.hpp.


Member Typedef Documentation

template<class T>
typedef T RTT::types::TemplateValueFactory< T >::DataType

Member Function Documentation

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.

template<class T>
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.

template<class T>
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.

template<class T>
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.

template<class T>
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.

template<class T>
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.

template<class T>
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.

template<class T>
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.


The documentation for this class was generated from the following file:


rtt
Author(s): RTT Developers
autogenerated on Sat Jun 8 2019 18:46:40