Struct baton_queue¶
Queue state.
#include <baton_queue.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint16_t | head Oldest record (consumer). |
| uint8_t * | memory Record storage, provided by the owner. |
| uint16_t | size Usable bytes, multiple of 4. |
| uint16_t | tail Next free byte (producer). |
Public Attributes Documentation¶
variable head¶
Oldest record (consumer).
variable memory¶
Record storage, provided by the owner.
variable size¶
Usable bytes, multiple of 4.
variable tail¶
Next free byte (producer).
The documentation for this class was generated from the following file inc/baton_queue.h