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 |
Classes | |
struct | Block |
CircularBuffer::CircularBuffer | ( | int | nMaxReserved = 3 , |
|
int | nBlockSize = 8192 | |||
) |
CircularBuffer::~CircularBuffer | ( | ) |
status_t CircularBuffer::Write | ( | const void * | pBuffer, | |
int | nSize | |||
) |
ssize_t CircularBuffer::Read | ( | void * | pBuffer, | |
int | nSize | |||
) |
void CircularBuffer::Clear | ( | ) |
ssize_t CircularBuffer::Size | ( | ) | const |