arduino-audio-tools
|
FIFO Queue which is based on a Vector. More...
#include <QueueFromVector.h>
Public Member Functions | |
QueueFromVector (size_t size, T empty) | |
size_t | capacity () |
bool | clear () |
bool | dequeue (T &data) |
bool | empty () |
bool | enqueue (T &data) |
bool | is_full () |
bool | peek (T &data) |
bool | resize (size_t size) |
void | setAllocator (Allocator &allocator) |
size_t | size () |
Protected Attributes | |
int32_t | _end_pos = 0 |
int | empty_pos = 0 |
T | null_value |
Vector< T > | vector |
FIFO Queue which is based on a Vector.
T |