 |
F´ Flight Software - C/C++ Documentation
NASA-v2.0.1
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
13 #ifndef OS_PTHREADS_MAX_HEAP_HPP
14 #define OS_PTHREADS_MAX_HEAP_HPP
116 #endif // OS_PTHREADS_MAX_HEAP_HPP
bool push(NATIVE_INT_TYPE value, NATIVE_UINT_TYPE id)
Push an item onto the heap.
bool create(NATIVE_UINT_TYPE capacity)
MaxHeap creation.
bool isEmpty()
Is the heap empty?
NATIVE_UINT_TYPE getSize()
Get the current number of elements on the heap.
~MaxHeap()
MaxHeap deconstructor.
A stable max heap data structure.
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
void print()
Print the contents of the heap to stdout.
bool isFull()
Is the heap full?
Declares ISF basic types.
int NATIVE_INT_TYPE
native integer type declaration
bool pop(NATIVE_INT_TYPE &value, NATIVE_UINT_TYPE &id)
Pop an item from the heap.
MaxHeap()
MaxHeap constructor.