The Nebula Device 3: PriorityArray Class Reference

The Nebula Device 3

PriorityArray Class Reference

#include <priorityarray.h>


Detailed Description

A fixed size priority array. Elements are associated with a priority. New Elements are added to the end of the array until the array is full. In a full array, new elements replace the current lowest priority element (if the priority of the new element is greater of course).

NOTE: The current implementation uses linear search and thus is slow for large arrays.

(C) 2003 RadonLabs GmbH