Orocos Real-Time Toolkit
2.6.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 | |
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.