Pyro higlevel API
|
Circular (FIFO) data container. More...
Public Member Functions | |
CircularBuffer (int nMaxReserved=3, int nBlockSize=8192) | |
~CircularBuffer () | |
status_t | Write (const void *pBuffer, int nSize) |
ssize_t | Read (void *pBuffer, int nSize) |
void | Clear () |
ssize_t | Size () const |
CircularBuffer::CircularBuffer | ( | int | nMaxReserved = 3 , |
int | nBlockSize = 8192 |
||
) |
CircularBuffer::~CircularBuffer | ( | ) |
References Clear().
void CircularBuffer::Clear | ( | ) |
Referenced by ~CircularBuffer().
ssize_t CircularBuffer::Read | ( | void * | pBuffer, |
int | nSize | ||
) |
ssize_t CircularBuffer::Size | ( | ) | const |
status_t CircularBuffer::Write | ( | const void * | pBuffer, |
int | nSize | ||
) |