CFEL - ASG Software Suite  2.5.0
CASS
Public Member Functions | Public Attributes | List of all members
cass::RingBuffer< T >::Element Class Reference

an element of the ringbuffer. More...

Public Member Functions

 Element ()
 constructor. More...
 

Public Attributes

std::tr1::shared_ptr< T > element
 the pointer to the element More...
 
bool processed
 status whether the element has been worked on More...
 
bool filled
 status whether the element has been filled More...
 
bool inUse
 status whether the element is workend on right now More...
 

Detailed Description

template<typename T>
class cass::RingBuffer< T >::Element

an element of the ringbuffer.

contains the status of the element and a pointer to the actual element.

Author
Lutz Foucar

Definition at line 62 of file ringbuffer.hpp.

Constructor & Destructor Documentation

template<typename T>
cass::RingBuffer< T >::Element::Element ( )
inline

constructor.

will initalize the status flags correcty.

Definition at line 69 of file ringbuffer.hpp.

Member Data Documentation

template<typename T>
std::tr1::shared_ptr<T> cass::RingBuffer< T >::Element::element

the pointer to the element

Definition at line 76 of file ringbuffer.hpp.

template<typename T>
bool cass::RingBuffer< T >::Element::filled

status whether the element has been filled

Definition at line 82 of file ringbuffer.hpp.

template<typename T>
bool cass::RingBuffer< T >::Element::inUse

status whether the element is workend on right now

Definition at line 85 of file ringbuffer.hpp.

template<typename T>
bool cass::RingBuffer< T >::Element::processed

status whether the element has been worked on

Definition at line 79 of file ringbuffer.hpp.


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