Orocos Real-Time Toolkit
2.9.0
|
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. More...
#include <rtt/internal/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 | |
ValueDataSource< ds_type >::shared_ptr | value |
AStore< A & > | arg |
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.
typedef remove_cr<A>::type RTT::internal::DataSourceArgStorage< A >::ds_type |
Definition at line 167 of file DataSourceStorage.hpp.
typedef AStore<A&> RTT::internal::DataSourceArgStorage< A >::Store |
Definition at line 168 of file DataSourceStorage.hpp.
|
inline |
Definition at line 171 of file DataSourceStorage.hpp.
|
inline |
Definition at line 181 of file DataSourceStorage.hpp.
Referenced by RTT::internal::DataSourceStorageImpl< 1, DataType >::store(), RTT::internal::DataSourceStorageImpl< 2, DataType >::store(), RTT::internal::DataSourceStorageImpl< 3, DataType >::store(), RTT::internal::DataSourceStorageImpl< 4, DataType >::store(), RTT::internal::DataSourceStorageImpl< 5, DataType >::store(), RTT::internal::DataSourceStorageImpl< 6, DataType >::store(), and RTT::internal::DataSourceStorageImpl< 7, DataType >::store().
AStore<A&> RTT::internal::DataSourceArgStorage< A >::arg |
Definition at line 170 of file DataSourceStorage.hpp.
ValueDataSource<ds_type>::shared_ptr RTT::internal::DataSourceArgStorage< A >::value |
Definition at line 169 of file DataSourceStorage.hpp.
Referenced by RTT::internal::DataSourceStorageImpl< 1, DataType >::initArgs(), RTT::internal::DataSourceStorageImpl< 2, DataType >::initArgs(), RTT::internal::DataSourceStorageImpl< 3, DataType >::initArgs(), RTT::internal::DataSourceStorageImpl< 4, DataType >::initArgs(), RTT::internal::DataSourceStorageImpl< 5, DataType >::initArgs(), RTT::internal::DataSourceStorageImpl< 6, DataType >::initArgs(), and RTT::internal::DataSourceStorageImpl< 7, DataType >::initArgs().