#include <rtt-types-fwd.hpp>
Public Types | |
typedef boost::function_traits< S >::arg1_type | arg1_type |
typedef boost::function_traits< S >::result_type | result_type |
typedef internal::create_sequence< typename boost::function_types::parameter_types< S >::type > | SequenceFactory |
Public Member Functions | |
virtual base::DataSourceBase::shared_ptr | build (const std::vector< base::DataSourceBase::shared_ptr > &args) const |
virtual base::DataSourceBase::shared_ptr | convert (base::DataSourceBase::shared_ptr arg) const |
template<class FInit > | |
TemplateConstructor (FInit f, bool autom) | |
Public Member Functions inherited from RTT::types::TypeConstructor | |
virtual | ~TypeConstructor () |
Public Attributes | |
bool | automatic |
boost::function< S > | ff |
The constructor classes allow to define type constructors or type conversions (convert type B from type A).
S | The function Signature, should at least have one argument and must return non-void. |
Definition at line 61 of file rtt-types-fwd.hpp.
typedef boost::function_traits<S>::arg1_type RTT::types::TemplateConstructor< S >::arg1_type |
Definition at line 67 of file TemplateConstructor.hpp.
typedef boost::function_traits<S>::result_type RTT::types::TemplateConstructor< S >::result_type |
Definition at line 66 of file TemplateConstructor.hpp.
typedef internal::create_sequence<typename boost::function_types::parameter_types<S>::type> RTT::types::TemplateConstructor< S >::SequenceFactory |
Definition at line 68 of file TemplateConstructor.hpp.
|
inline |
Definition at line 74 of file TemplateConstructor.hpp.
|
inlinevirtual |
Inspect args and return a type constructed with these args if such a constructor exists.
Implements RTT::types::TypeConstructor.
Definition at line 78 of file TemplateConstructor.hpp.
|
inlinevirtual |
Automatic type conversion (float->double,... ). Fails by default.
Reimplemented from RTT::types::TypeConstructor.
Definition at line 89 of file TemplateConstructor.hpp.
bool RTT::types::TemplateConstructor< S >::automatic |
Definition at line 71 of file TemplateConstructor.hpp.
boost::function<S> RTT::types::TemplateConstructor< S >::ff |
Definition at line 70 of file TemplateConstructor.hpp.