Generic queue structure. More...
Data Fields | |
volatile uint16_t | write_cursor |
volatile uint16_t | read_cursor |
volatile bool | empty |
uint8_t | depth |
uint8_t | item_size |
unsigned char | content [] |
Generic queue structure.
This structure provides a header for queue that can be used with routines provided by the queue library. Note that this structure does not allocate any storage space for the queue data itself. It is up on the developer to allocate that space.
If your use case requires roughly 256 bytes of queue storage, you can use BasicQueue structure to allocate storage for the queue automatically.
unsigned char Queue::content[] |
uint8_t Queue::depth |
volatile bool Queue::empty |
uint8_t Queue::item_size |
volatile uint16_t Queue::read_cursor |
volatile uint16_t Queue::write_cursor |