Public Member Functions | List of all members
RTT::types::TypeConstructor Struct Referenceabstract

#include <TypeConstructor.hpp>

Inheritance diagram for RTT::types::TypeConstructor:
Inheritance graph

Public Member Functions

virtual base::DataSourceBase::shared_ptr build (const std::vector< base::DataSourceBase::shared_ptr > &args) const =0
virtual base::DataSourceBase::shared_ptr convert (base::DataSourceBase::shared_ptr arg) const
virtual ~TypeConstructor ()

Detailed Description

This interface describes how constructors work.

Definition at line 50 of file TypeConstructor.hpp.

Constructor & Destructor Documentation

RTT::TypeConstructor::~TypeConstructor ( )

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::SequenceBuilder< T >, and RTT::types::TemplateConstructor< S >.

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

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:

Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:48