13 #ifndef UTILS_TYPES_MAX_HEAP_HPP
14 #define UTILS_TYPES_MAX_HEAP_HPP
PlatformSizeType FwSizeType
PlatformQueuePriorityType FwQueuePriorityType
C++-compatible configuration header for fprime configuration.
A stable max heap data structure.
MaxHeap()
MaxHeap constructor.
FwSizeType getSize() const
Get the current number of elements on the heap.
bool isFull()
Is the heap full?
~MaxHeap()
MaxHeap deconstructor.
bool isEmpty()
Is the heap empty?
bool pop(FwQueuePriorityType &value, FwSizeType &id)
Pop an item from the heap.
bool create(FwSizeType capacity)
MaxHeap creation.
bool push(FwQueuePriorityType value, FwSizeType id)
Push an item onto the heap.