Public Member Functions | Public Attributes
youbot::DataObjectLockFree< T >::DataBuf Struct Reference

List of all members.

Public Member Functions

 DataBuf ()

Public Attributes

oro_atomic_t counter
DataType data
DataBufnext

Detailed Description

template<class T>
struct youbot::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 102 of file DataObjectLockFree.hpp.


Constructor & Destructor Documentation

template<class T>
youbot::DataObjectLockFree< T >::DataBuf::DataBuf ( ) [inline]

Definition at line 104 of file DataObjectLockFree.hpp.


Member Data Documentation

template<class T>
oro_atomic_t youbot::DataObjectLockFree< T >::DataBuf::counter [mutable]

Definition at line 110 of file DataObjectLockFree.hpp.

Definition at line 109 of file DataObjectLockFree.hpp.

Definition at line 111 of file DataObjectLockFree.hpp.


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


youbot_driver
Author(s): Jan Paulus
autogenerated on Mon Oct 6 2014 09:08:03