Orocos Real-Time Toolkit
2.8.3
|
This interface describes how constructors work. More...
#include <rtt/types/TypeConstructor.hpp>
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... | |
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::TemplateConstructor< S >, and RTT::types::SequenceBuilder< T >.
|
virtual |
Automatic type conversion (float->double,...
). Fails by default.
Reimplemented in RTT::types::TemplateConstructor< S >.
Definition at line 49 of file TypeConstructor.cpp.