Orocos Real-Time Toolkit  2.8.3
Public Types | Public Member Functions | List of all members
RTT::types::SequenceBuilder< T > Struct Template Reference

Constructs an sequence with n elements, which are given upon construction time. More...

#include <rtt/types/SequenceConstructor.hpp>

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

Public Types

typedef T::value_type value_type
 

Public Member Functions

virtual base::DataSourceBase::shared_ptr build (const std::vector< base::DataSourceBase::shared_ptr > &args) const
 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

template<class T>
struct RTT::types::SequenceBuilder< T >

Constructs an sequence with n elements, which are given upon construction time.

Definition at line 60 of file SequenceConstructor.hpp.

Member Typedef Documentation

template<class T >
typedef T::value_type RTT::types::SequenceBuilder< T >::value_type

Definition at line 62 of file SequenceConstructor.hpp.

Member Function Documentation

template<class T >
virtual base::DataSourceBase::shared_ptr RTT::types::SequenceBuilder< T >::build ( const std::vector< base::DataSourceBase::shared_ptr > &  args) const
inlinevirtual

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

Implements RTT::types::TypeConstructor.

Definition at line 63 of file SequenceConstructor.hpp.

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

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 file: