Solar
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SharedCircularBuffer< T > Class Template Reference
Inheritance diagram for SharedCircularBuffer< T >:
Inheritance graph
[legend]
Collaboration diagram for SharedCircularBuffer< T >:
Collaboration graph
[legend]

Public Member Functions

 SharedCircularBuffer (unsigned int size)
 
virtual void push (const T &value) override
 
- Public Member Functions inherited from SharedFifo< T >
const T back ()
 
const T pop ()
 
bool tryPop (T &value)
 
unsigned int size () const
 
bool empty () const
 

Protected Member Functions

void increaseCursor (int &cursor)
 
virtual void doPop (T &value) override
 

Protected Attributes

int m_pushCursor
 
int m_popCursor
 
- Protected Attributes inherited from SharedFifo< T >
std::condition_variable m_condQueueNotEmpty
 
unsigned long m_nbNotified = 0
 
std::deque< T > m_data
 
std::mutex m_mutex
 

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