Public Types | Public Member Functions | Public Attributes | List of all members
RTT::internal::DataSourceArgStorage< A > Struct Template Reference

#include <DataSourceStorage.hpp>

Public Types

typedef remove_cr< A >::type ds_type
 
typedef AStore< A & > Store
 

Public Member Functions

 DataSourceArgStorage ()
 
void newarg (A a)
 

Public Attributes

AStore< A & > arg
 
ValueDataSource< ds_type >::shared_ptr value
 

Detailed Description

template<class A>
struct RTT::internal::DataSourceArgStorage< A >

Partial specialisations for storing a (const) reference or not reference The trick here is to take a (const) reference data source to something that was already a reference, and copy to a value data source for something that is plain value. As such, we keep the same 'lifetime' expectations as with standard C++ method calls. Wraps around AStore

Definition at line 165 of file DataSourceStorage.hpp.

Member Typedef Documentation

template<class A>
typedef remove_cr<A>::type RTT::internal::DataSourceArgStorage< A >::ds_type

Definition at line 167 of file DataSourceStorage.hpp.

template<class A>
typedef AStore<A&> RTT::internal::DataSourceArgStorage< A >::Store

Definition at line 168 of file DataSourceStorage.hpp.

Constructor & Destructor Documentation

Definition at line 171 of file DataSourceStorage.hpp.

Member Function Documentation

template<class A>
void RTT::internal::DataSourceArgStorage< A >::newarg ( A  a)
inline

Definition at line 181 of file DataSourceStorage.hpp.

Member Data Documentation

template<class A>
AStore<A&> RTT::internal::DataSourceArgStorage< A >::arg

Definition at line 170 of file DataSourceStorage.hpp.

template<class A>
ValueDataSource<ds_type>::shared_ptr RTT::internal::DataSourceArgStorage< A >::value

Definition at line 169 of file DataSourceStorage.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Tue Jun 25 2019 19:33:44