Set of Active Objects of up to QF_MAX_ACTIVE elements.
More...
#include "qp.h"
Set of Active Objects of up to QF_MAX_ACTIVE elements.
- Details
- QPSet represents the set of Active Objects in the priority order. The set is capable of storing up to QF_MAX_ACTIVE elements.
- Backward Traceability
-
Definition at line 406 of file qp.h.
◆ QPSet_setEmpty()
static void QPSet_setEmpty |
( |
QPSet *const | me | ) |
|
|
inlinestatic |
Make the priority set empty.
Definition at line 413 of file qp.h.
◆ QPSet_isEmpty()
static bool QPSet_isEmpty |
( |
QPSet const *const | me | ) |
|
|
inlinestatic |
Find out whether the priority-set is empty.
- Returns
- 'true' if the priority set is empty.
Definition at line 421 of file qp.h.
◆ QPSet_notEmpty()
static bool QPSet_notEmpty |
( |
QPSet const *const | me | ) |
|
|
inlinestatic |
Find out whether the priority-set is NOT empty.
- Returns
- 'true' if the priority set is NOT empty.
Definition at line 430 of file qp.h.
◆ QPSet_hasElement()
static bool QPSet_hasElement |
( |
QPSet const *const | me, |
|
|
uint_fast8_t const | n ) |
|
inlinestatic |
Find out whether the priority-set has element n
- Returns
- 'true' if the priority set has the element
n
.
Definition at line 439 of file qp.h.
◆ QPSet_insert()
static void QPSet_insert |
( |
QPSet *const | me, |
|
|
uint_fast8_t const | n ) |
|
inlinestatic |
◆ QPSet_remove()
static void QPSet_remove |
( |
QPSet *const | me, |
|
|
uint_fast8_t const | n ) |
|
inlinestatic |
◆ QPSet_findMax()
static uint_fast8_t QPSet_findMax |
( |
QPSet const *const | me | ) |
|
|
inlinestatic |
Find the maximum element in the set–returns zero if the set is empty.
- Returns
- The current maximum element
n
.
Definition at line 484 of file qp.h.
◆ bits
Bitmask with a bit for each element.
Definition at line 408 of file qp.h.
The documentation for this class was generated from the following files: