Public Member Functions | |
DataBuf () | |
Public Attributes | |
oro_atomic_t | counter |
DataType | data |
DataBuf * | next |
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.
youbot::DataObjectLockFree< T >::DataBuf::DataBuf | ( | ) | [inline] |
Definition at line 104 of file DataObjectLockFree.hpp.
oro_atomic_t youbot::DataObjectLockFree< T >::DataBuf::counter [mutable] |
Definition at line 110 of file DataObjectLockFree.hpp.
DataType youbot::DataObjectLockFree< T >::DataBuf::data |
Definition at line 109 of file DataObjectLockFree.hpp.
DataBuf* youbot::DataObjectLockFree< T >::DataBuf::next |
Definition at line 111 of file DataObjectLockFree.hpp.