|
QP/C++
|
Priority Set of up to 8 elements for building various schedulers, but also useful as a general set of up to 8 elements of any kind. More...
#include <qpset.h>
Public Member Functions | |
| bool | isEmpty (void) const |
| the function evaluates to TRUE if the set is empty, which means that no active objects are ready to run. | |
| bool | notEmpty (void) const |
| the function evaluates to TRUE if the set has elements, which means that some active objects are ready to run. | |
| bool | hasElement (uint8_t const n) const |
| the function evaluates to TRUE if the priority set has the element n. | |
| void | insert (uint8_t const n) |
| insert element n into the set, n = 1..8 | |
| void | remove (uint8_t const n) |
| remove element n from the set, n = 1..8 | |
| uint8_t | findMax (void) const |
| find the maximum element in the set, | |
Friends | |
| class | QPSet64 |
Priority Set of up to 8 elements for building various schedulers, but also useful as a general set of up to 8 elements of any kind.
The priority set represents the set of active objects that are ready to run and need to be considered by scheduling processing. The set is capable of storing up to 8 priority levels.
| uint8_t QPSet8::findMax | ( | void | ) | const [inline] |
1.7.6.1