|
TinyRobotics
|
FIFO Queue which is based on a List that is thread save. More...
#include <SynchronizedQueue.h>
Public Member Functions | |
| bool | enqueue (T &data) |
| bool | peek (T &data) |
| bool | dequeue (T &data) |
| size_t | size () |
| bool | clear () |
| bool | empty () |
Protected Attributes | |
| std::list< T, TAllocator > | l |
| TMutex | mutex |
FIFO Queue which is based on a List that is thread save.
| T | |
| TMutex | |
| TAllocator | Allocator type for the underlying list (default: AllocatorPSRAM<T>) |