Public Types | Public Member Functions | List of all members
RTT::base::DataObject< T > Class Template Reference

#include <DataObject.hpp>

Inheritance diagram for RTT::base::DataObject< T >:
Inheritance graph
[legend]

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...
 

Detailed Description

template<class T>
class RTT::base::DataObject< T >

This object represents the default thread-safe data object implementation used by Orocos objects.

Definition at line 65 of file DataObject.hpp.

Member Typedef Documentation

template<class T >
typedef T RTT::base::DataObject< T >::DataType

The type of the data.

Definition at line 76 of file DataObject.hpp.

template<class T >
typedef T RTT::base::DataObject< T >::value_t

Definition at line 77 of file DataObject.hpp.

Constructor & Destructor Documentation

template<class T >
RTT::base::DataObject< T >::DataObject ( const T &  initial_value = T())
inline

Create a data object for holding a user defined struct.

Definition at line 83 of file DataObject.hpp.


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


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