#include <TypeConstructor.hpp>
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 () |
This interface describes how constructors work.
Definition at line 50 of file TypeConstructor.hpp.
|
virtual |
Definition at line 47 of file TypeConstructor.cpp.
|
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 >.
|
virtual |
Automatic type conversion (float->double,... ). Fails by default.
Reimplemented in RTT::types::TemplateConstructor< S >.
Definition at line 49 of file TypeConstructor.cpp.