Public Member Functions | Public Attributes | List of all members
RTT::base::DataObjectLockFree< T >::DataBuf Struct Reference

Public Member Functions

 DataBuf ()
 

Public Attributes

value_t data
 
DataBufnext
 
oro_atomic_t read_counter
 
FlowStatus status
 
oro_atomic_t write_lock
 

Detailed Description

template<class T>
struct RTT::base::DataObjectLockFree< T >::DataBuf

Internal buffer structure. Both the read and write pointers pointing to this struct must be declared volatile, since they are modified in other threads. I did not declare data as volatile, since we only read/write it in secured buffers.

Definition at line 108 of file DataObjectLockFree.hpp.

Constructor & Destructor Documentation

template<class T>
RTT::base::DataObjectLockFree< T >::DataBuf::DataBuf ( )
inline

Definition at line 109 of file DataObjectLockFree.hpp.

Member Data Documentation

template<class T>
value_t RTT::base::DataObjectLockFree< T >::DataBuf::data

Definition at line 115 of file DataObjectLockFree.hpp.

template<class T>
DataBuf* RTT::base::DataObjectLockFree< T >::DataBuf::next

Definition at line 118 of file DataObjectLockFree.hpp.

template<class T>
oro_atomic_t RTT::base::DataObjectLockFree< T >::DataBuf::read_counter
mutable

Definition at line 117 of file DataObjectLockFree.hpp.

template<class T>
FlowStatus RTT::base::DataObjectLockFree< T >::DataBuf::status

Definition at line 116 of file DataObjectLockFree.hpp.

template<class T>
oro_atomic_t RTT::base::DataObjectLockFree< T >::DataBuf::write_lock
mutable

Definition at line 117 of file DataObjectLockFree.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:42