Go to the source code of this file.
|
STATUS | createRollingBuffer (UINT32, FreeDataFunc, PRollingBuffer *) |
|
STATUS | freeRollingBuffer (PRollingBuffer *) |
|
STATUS | rollingBufferAppendData (PRollingBuffer, UINT64, PUINT64) |
|
STATUS | rollingBufferInsertData (PRollingBuffer, UINT64, UINT64) |
|
STATUS | rollingBufferExtractData (PRollingBuffer, UINT64, PUINT64) |
|
STATUS | rollingBufferGetSize (PRollingBuffer, PUINT32) |
|
STATUS | rollingBufferIsEmpty (PRollingBuffer, PBOOL) |
|
◆ ROLLING_BUFFER_MAP_INDEX
#define ROLLING_BUFFER_MAP_INDEX |
( |
|
pRollingBuffer, |
|
|
|
index |
|
) |
| ((index) % (pRollingBuffer)->capacity) |
◆ FreeDataFunc
typedef STATUS(* FreeDataFunc) (PUINT64) |
◆ PRollingBuffer
◆ createRollingBuffer()
◆ freeRollingBuffer()
◆ rollingBufferAppendData()
STATUS rollingBufferAppendData |
( |
PRollingBuffer |
pRollingBuffer, |
|
|
UINT64 |
data, |
|
|
PUINT64 |
pIndex |
|
) |
| |
◆ rollingBufferExtractData()
STATUS rollingBufferExtractData |
( |
PRollingBuffer |
pRollingBuffer, |
|
|
UINT64 |
index, |
|
|
PUINT64 |
pData |
|
) |
| |
◆ rollingBufferGetSize()
STATUS rollingBufferGetSize |
( |
PRollingBuffer |
pRollingBuffer, |
|
|
PUINT32 |
pSize |
|
) |
| |
◆ rollingBufferInsertData()
STATUS rollingBufferInsertData |
( |
PRollingBuffer |
pRollingBuffer, |
|
|
UINT64 |
index, |
|
|
UINT64 |
data |
|
) |
| |
◆ rollingBufferIsEmpty()
STATUS rollingBufferIsEmpty |
( |
PRollingBuffer |
pRollingBuffer, |
|
|
PBOOL |
pIsEmpty |
|
) |
| |