Public Member Functions
RTT::internal::GenerateDataSource Struct Reference

#include <DataSourceGenerator.hpp>

List of all members.

Public Member Functions

template<class A1 >
std::vector
< base::DataSourceBase::shared_ptr
operator() (A1 a1)
template<class A1 , class A2 >
std::vector
< base::DataSourceBase::shared_ptr
operator() (A1 a1, A2 a2)
template<class A1 , class A2 , class A3 >
std::vector
< base::DataSourceBase::shared_ptr
operator() (A1 a1, A2 a2, A3 a3)
template<class A1 , class A2 , class A3 , class A4 >
std::vector
< base::DataSourceBase::shared_ptr
operator() (A1 a1, A2 a2, A3 a3, A4 a4)
template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 >
std::vector
< base::DataSourceBase::shared_ptr
operator() (A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6)
template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 , class A7 >
std::vector
< base::DataSourceBase::shared_ptr
operator() (A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7)
template<class A1 , class A2 , class A3 , class A4 , class A5 >
std::vector
< base::DataSourceBase::shared_ptr
operator() (A1 a1, A2 a2, A3 a3, A4 a4, A5 a5)

Detailed Description

A function object which returns a vector of DataSources. You can provide plain value types (int, double,...) or base::DataSourceBase derived types. If you want the DataSource to be a reference to an existing variable, use the ref() function. For example :


     base::DataSourceBase::shared_ptr arg2 = ...
     ValueDataSource<ClassX>::shared_ptr arg3 = ...
     double arg4 = 1.234;
     vector<base::DataSourceBase::shared_ptr> arguments = GenerateDataSource()( 12.34, arg2.get(), arg3.get(), ref(arg4) );
     assert ( arguments.size() == 4 );

       

Definition at line 95 of file DataSourceGenerator.hpp.


Member Function Documentation

template<class A1 >
std::vector<base::DataSourceBase::shared_ptr> RTT::internal::GenerateDataSource::operator() ( A1  a1) [inline]

Definition at line 98 of file DataSourceGenerator.hpp.

template<class A1 , class A2 >
std::vector<base::DataSourceBase::shared_ptr> RTT::internal::GenerateDataSource::operator() ( A1  a1,
A2  a2 
) [inline]

Definition at line 106 of file DataSourceGenerator.hpp.

template<class A1 , class A2 , class A3 >
std::vector<base::DataSourceBase::shared_ptr> RTT::internal::GenerateDataSource::operator() ( A1  a1,
A2  a2,
A3  a3 
) [inline]

Definition at line 114 of file DataSourceGenerator.hpp.

template<class A1 , class A2 , class A3 , class A4 >
std::vector<base::DataSourceBase::shared_ptr> RTT::internal::GenerateDataSource::operator() ( A1  a1,
A2  a2,
A3  a3,
A4  a4 
) [inline]

Definition at line 122 of file DataSourceGenerator.hpp.

template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 >
std::vector<base::DataSourceBase::shared_ptr> RTT::internal::GenerateDataSource::operator() ( A1  a1,
A2  a2,
A3  a3,
A4  a4,
A5  a5,
A6  a6 
) [inline]

Definition at line 130 of file DataSourceGenerator.hpp.

template<class A1 , class A2 , class A3 , class A4 , class A5 , class A6 , class A7 >
std::vector<base::DataSourceBase::shared_ptr> RTT::internal::GenerateDataSource::operator() ( A1  a1,
A2  a2,
A3  a3,
A4  a4,
A5  a5,
A6  a6,
A7  a7 
) [inline]

Definition at line 138 of file DataSourceGenerator.hpp.

template<class A1 , class A2 , class A3 , class A4 , class A5 >
std::vector<base::DataSourceBase::shared_ptr> RTT::internal::GenerateDataSource::operator() ( A1  a1,
A2  a2,
A3  a3,
A4  a4,
A5  a5 
) [inline]

Definition at line 146 of file DataSourceGenerator.hpp.


The documentation for this struct was generated from the following file:


rtt
Author(s): RTT Developers
autogenerated on Thu Jan 2 2014 11:35:44