#include <DataObject.hpp>
Public Types | |
typedef T | DataType |
typedef T | value_t |
Public Types inherited from RTT::base::DataObjectLockFree< T > | |
typedef DataObjectBase::Options | Options |
typedef DataObjectInterface< T >::param_t | param_t |
typedef DataObjectInterface< T >::reference_t | reference_t |
typedef DataObjectInterface< T >::value_t | value_t |
Public Types inherited from RTT::base::DataObjectInterface< T > | |
typedef boost::call_traits< T >::param_type | param_t |
typedef boost::call_traits< T >::reference | reference_t |
typedef boost::shared_ptr< DataObjectInterface< T > > | shared_ptr |
typedef T | value_t |
Public Member Functions | |
DataObject (const T &initial_value=T()) | |
Public Member Functions inherited from RTT::base::DataObjectLockFree< T > | |
virtual void | clear () |
virtual bool | data_sample (param_t sample, bool reset=true) |
virtual value_t | data_sample () const |
DataObjectLockFree (const Options &options=Options()) | |
DataObjectLockFree (param_t initial_value, const Options &options=Options()) | |
virtual value_t | Get () const |
virtual FlowStatus | Get (reference_t pull, bool copy_old_data, bool copy_sample) const |
virtual FlowStatus | Get (reference_t pull, bool copy_old_data=true) const |
virtual bool | Set (param_t push) |
~DataObjectLockFree () | |
Public Member Functions inherited from RTT::base::DataObjectInterface< T > | |
DataObjectInterface () | |
virtual | ~DataObjectInterface () |
Public Member Functions inherited from RTT::base::DataObjectBase | |
virtual | ~DataObjectBase () |
Additional Inherited Members | |
Public Attributes inherited from RTT::base::DataObjectLockFree< T > | |
const unsigned int | MAX_THREADS |
The maximum number of threads. More... | |
This object represents the default thread-safe data object implementation used by Orocos objects.
Definition at line 65 of file DataObject.hpp.
typedef T RTT::base::DataObject< T >::DataType |
The type of the data.
Definition at line 76 of file DataObject.hpp.
typedef T RTT::base::DataObject< T >::value_t |
Definition at line 77 of file DataObject.hpp.
|
inline |
Create a data object for holding a user defined struct.
Definition at line 83 of file DataObject.hpp.