Set of Active Objects of up toQP::QF_MAX_ACTIVE elements. More...
#include "qp.hpp"
Public Member Functions | |
void | setEmpty () noexcept |
bool | isEmpty () const noexcept |
bool | notEmpty () const noexcept |
bool | hasElement (std::uint_fast8_t const n) const noexcept |
void | insert (std::uint_fast8_t const n) noexcept |
void | remove (std::uint_fast8_t const n) noexcept |
std::uint_fast8_t | findMax () const noexcept |
void | update_ (QPSet *const dis) const noexcept |
bool | verify_ (QPSet const *const dis) const noexcept |
Private Attributes | |
QPSetBits | m_bits [((QF_MAX_ACTIVE+(8U *sizeof(QPSetBits))) - 1U)/(8U *sizeof(QPSetBits))] |
Set of Active Objects of up toQP::QF_MAX_ACTIVE elements.
QPSet represents the set of Active Objects in the priority order. The set is capable of storing up to QP::QF_MAX_ACTIVE elements.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Insert element n
into the priority-set (n
= 1..QF_MAX_ACTIVE)
|
inlinenoexcept |
Remove element n
from the priority-set (n
= 1..QF_MAX_ACTIVE)
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |