#include <circularbuffer.h>
List of all members.
Public Member Functions |
| CircularBuffer (unsigned int iLength) |
virtual | ~CircularBuffer () |
bool | isFull () const |
bool | isEmpty () const |
void | clear () |
unsigned int | length () const |
unsigned int | write (const T *pBuffer, const unsigned int numItems) |
unsigned int | read (T *pBuffer, const unsigned int itemsToRead) |
unsigned int | skip (const unsigned int itemsToRead) |
Detailed Description
template<typename T>
class CircularBuffer< T >
Definition at line 14 of file circularbuffer.h.
Constructor & Destructor Documentation
Member Function Documentation
template<typename T>
unsigned int CircularBuffer< T >::read |
( |
T * |
pBuffer, |
|
|
const unsigned int |
itemsToRead |
|
) |
| [inline] |
template<typename T>
unsigned int CircularBuffer< T >::skip |
( |
const unsigned int |
itemsToRead | ) |
[inline] |
template<typename T>
unsigned int CircularBuffer< T >::write |
( |
const T * |
pBuffer, |
|
|
const unsigned int |
numItems |
|
) |
| [inline] |
The documentation for this class was generated from the following file: