Orocos Real-Time Toolkit  2.8.3
Public Member Functions | List of all members
RTT::types::TypeConstructor Struct Referenceabstract

This interface describes how constructors work. More...

#include <rtt/types/TypeConstructor.hpp>

Inheritance diagram for RTT::types::TypeConstructor:
RTT::types::SequenceBuilder< T > RTT::types::TemplateConstructor< S >

Public Member Functions

virtual ~TypeConstructor ()
 
virtual base::DataSourceBase::shared_ptr build (const std::vector< base::DataSourceBase::shared_ptr > &args) const =0
 Inspect args and return a type constructed with these args if such a constructor exists. More...
 
virtual base::DataSourceBase::shared_ptr convert (base::DataSourceBase::shared_ptr arg) const
 Automatic type conversion (float->double,... More...
 

Detailed Description

This interface describes how constructors work.

Definition at line 50 of file TypeConstructor.hpp.

Constructor & Destructor Documentation

RTT::TypeConstructor::~TypeConstructor ( )
virtual

Definition at line 47 of file TypeConstructor.cpp.

Member Function Documentation

virtual base::DataSourceBase::shared_ptr RTT::types::TypeConstructor::build ( const std::vector< base::DataSourceBase::shared_ptr > &  args) const
pure virtual

Inspect args and return a type constructed with these args if such a constructor exists.

Implemented in RTT::types::TemplateConstructor< S >, and RTT::types::SequenceBuilder< T >.

base::DataSourceBase::shared_ptr RTT::TypeConstructor::convert ( base::DataSourceBase::shared_ptr  arg) const
virtual

Automatic type conversion (float->double,...

). Fails by default.

Reimplemented in RTT::types::TemplateConstructor< S >.

Definition at line 49 of file TypeConstructor.cpp.


The documentation for this struct was generated from the following files: