Circular queue of integers.
More...
#include <queue.h>
|
unsigned int | length |
| The current number of items on the queue.
|
|
unsigned int | _max_length |
| The maximum number of items that fits on the queue.
|
|
int | _current |
| The index for the current item.
|
|
int | _last |
| The index of the last item.
|
|
int * | data |
| Pointer to queue data with allocated space to fit max_size items.
|
|
Circular queue of integers.
Definition at line 6 of file queue.h.
◆ _current
The index for the current item.
Definition at line 10 of file queue.h.
◆ _last
The index of the last item.
Definition at line 11 of file queue.h.
◆ _max_length
unsigned int cqueue::_max_length |
The maximum number of items that fits on the queue.
Definition at line 9 of file queue.h.
◆ data
Pointer to queue data with allocated space to fit max_size
items.
Definition at line 12 of file queue.h.
◆ length
unsigned int cqueue::length |
The current number of items on the queue.
Definition at line 8 of file queue.h.
The documentation for this struct was generated from the following file: