DDraceNetwork Docs
|
#include <ringbuffer.h>
Public Member Functions | |
T * | Allocate (int Size) |
int | PopFirst () |
void | SetPopCallback (std::function< void(T *pCurrent)> PopCallback) |
T * | Prev (T *pCurrent) |
T * | Next (T *pCurrent) |
T * | First () |
T * | Last () |
Public Member Functions inherited from CRingBufferBase | |
void | Clear () |
Additional Inherited Members | |
Public Types inherited from CRingBufferBase | |
enum | { FLAG_RECYCLE = 1 } |
Static Public Attributes inherited from CRingBufferBase | |
static constexpr int | ITEM_SIZE = sizeof(CItem) |
Protected Member Functions inherited from CRingBufferBase | |
void * | Allocate (int Size) |
void * | Prev (void *pCurrent) |
void * | Next (void *pCurrent) |
void * | First () |
void * | Last () |
void | Init (void *pMemory, int Size, int Flags) |
int | PopFirst () |
void | SetPopCallback (const std::function< void(void *pCurrent)> PopCallback) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |