13 #ifndef UTILS_TYPES_MAX_HEAP_HPP 14 #define UTILS_TYPES_MAX_HEAP_HPP 112 #endif // UTILS_TYPES_MAX_HEAP_HPP PlatformSizeType FwSizeType
bool pop(FwQueuePriorityType &value, FwSizeType &id)
Pop an item from the heap.
~MaxHeap()
MaxHeap deconstructor.
bool isEmpty()
Is the heap empty?
bool push(FwQueuePriorityType value, FwSizeType id)
Push an item onto the heap.
A stable max heap data structure.
MaxHeap()
MaxHeap constructor.
bool isFull()
Is the heap full?
FwSizeType getSize() const
Get the current number of elements on the heap.
PlatformQueuePriorityType FwQueuePriorityType
The type of queue priorities used.
bool create(FwSizeType capacity)
MaxHeap creation.