Public Types | Public Member Functions | List of all members
RTT::types::TemplateValueFactory< T > Class Template Reference

#include <TemplateValueFactory.hpp>

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

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
 
- Public Member Functions inherited from RTT::types::ValueFactory
virtual ~ValueFactory ()
 
virtual base::AttributeBasebuildConstant (std::string name, base::DataSourceBase::shared_ptr, int sizehint) const
 
virtual base::AttributeBasebuildVariable (std::string name, int sizehint) const
 

Detailed Description

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

Definition at line 53 of file TemplateValueFactory.hpp.

Member Typedef Documentation

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

Definition at line 57 of file TemplateValueFactory.hpp.

Member Function Documentation

template<class T>
base::DataSourceBase::shared_ptr RTT::types::TemplateValueFactory< T >::buildActionAlias ( base::ActionInterface action,
base::DataSourceBase::shared_ptr  source 
) const
inlinevirtual

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 100 of file TemplateValueFactory.hpp.

template<class T>
base::AttributeBase* RTT::types::TemplateValueFactory< T >::buildAlias ( std::string  name,
base::DataSourceBase::shared_ptr  b 
) const
inlinevirtual

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 92 of file TemplateValueFactory.hpp.

template<class T>
base::AttributeBase* RTT::types::TemplateValueFactory< T >::buildAttribute ( std::string  name,
base::DataSourceBase::shared_ptr  source 
) const
inlinevirtual

Build an Attribute of this type.

Implements RTT::types::ValueFactory.

Definition at line 78 of file TemplateValueFactory.hpp.

template<class T>
base::AttributeBase* RTT::types::TemplateValueFactory< T >::buildConstant ( std::string  name,
base::DataSourceBase::shared_ptr  dsb 
) const
inlinevirtual

Implements RTT::types::ValueFactory.

Definition at line 58 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
inlinevirtual

Build a Property of this type.

Implements RTT::types::ValueFactory.

Definition at line 112 of file TemplateValueFactory.hpp.

template<class T>
virtual base::DataSourceBase::shared_ptr RTT::types::TemplateValueFactory< T >::buildReference ( void *  ptr) const
inlinevirtual

Build a internal::ReferenceDataSource of this type, pointing to the given pointer

Implements RTT::types::ValueFactory.

Definition at line 128 of file TemplateValueFactory.hpp.

template<class T>
virtual base::DataSourceBase::shared_ptr RTT::types::TemplateValueFactory< T >::buildValue ( ) const
inlinevirtual

Build a internal::ValueDataSource of this type.

Implements RTT::types::ValueFactory.

Definition at line 125 of file TemplateValueFactory.hpp.

template<class T>
base::AttributeBase* RTT::types::TemplateValueFactory< T >::buildVariable ( std::string  name) const
inlinevirtual

Implements RTT::types::ValueFactory.

Definition at line 71 of file TemplateValueFactory.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Tue Jun 25 2019 19:33:47