FIFO Queue whch is based on the FreeRTOS queue API. The default allocator will allocate the memory from psram if available.
More...
#include <QueueRTOS.h>
|
| QueueRTOS (int size, TickType_t writeMaxWait=portMAX_DELAY, TickType_t readMaxWait=portMAX_DELAY, Allocator &allocator=DefaultAllocator) |
|
bool | clear () |
|
bool | dequeue (T &data) |
|
bool | empty () |
|
bool | enqueue (T &data) |
|
bool | peek (T &data) |
|
bool | resize (int size) |
| (Re-)defines the size
|
|
void | setReadMaxWait (TickType_t ticks) |
|
void | setWriteMaxWait (TickType_t ticks) |
|
size_t | size () |
|
|
void | end () |
|
bool | setup () |
|
|
Allocator * | p_allocator = nullptr |
|
uint8_t * | p_data = nullptr |
|
StaticQueue_t | queue_buffer |
|
int | queue_size |
|
TickType_t | read_max_wait = portMAX_DELAY |
|
TickType_t | write_max_wait = portMAX_DELAY |
|
QueueHandle_t | xQueue = nullptr |
|
template<class T>
class audio_tools::QueueRTOS< T >
FIFO Queue whch is based on the FreeRTOS queue API. The default allocator will allocate the memory from psram if available.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
- Template Parameters
-
The documentation for this class was generated from the following file: