#include <uniqueIdAllocator.h>
Static Public Attributes | |
const U32 | IndexEnd = (U32)-1 |
Protected Attributes | |
U32 * | _table |
U32 | _min |
U32 | _max |
U32 | _next_free |
U32 | _last_free |
U32 | _size |
U32 | _free |
Static Protected Attributes | |
const U32 | IndexAllocated = (U32)-2 |
Private Member Functions | |
~UniqueIdAllocator () | |
U32 | allocate () |
void | free (U32 index) |
float | percent_used () const |
void | output (ostream &os, bool verbose=false) const |
Private Attributes | |
PUBLISHED | __pad0__: UniqueIdAllocator(U32 min=0 |
PUBLISHED U32 | max = 20) |
|
Definition at line 78 of file uniqueIdAllocator.cxx. References _table, and uniqueIdAllocator_debug. |
|
Definition at line 92 of file uniqueIdAllocator.cxx. References _free, _min, _next_free, _table, id, IndexAllocated, IndexEnd, U32, uniqueIdAllocator_debug, and uniqueIdAllocator_warning. |
|
Definition at line 116 of file uniqueIdAllocator.cxx. References _free, _last_free, _max, _min, _next_free, _table, index, IndexAllocated, IndexEnd, and uniqueIdAllocator_debug. |
|
Definition at line 151 of file uniqueIdAllocator.cxx. References _free, _last_free, _next_free, _size, _table, and U32. |
|
Definition at line 140 of file uniqueIdAllocator.cxx. |
|
Definition at line 52 of file uniqueIdAllocator.h. |
|
Definition at line 70 of file uniqueIdAllocator.h. Referenced by allocate(), free(), output(), and percent_used(). |
|
Definition at line 68 of file uniqueIdAllocator.h. |
|
Definition at line 66 of file uniqueIdAllocator.h. Referenced by free(). |
|
Definition at line 65 of file uniqueIdAllocator.h. Referenced by allocate(), and free(). |
|
Definition at line 67 of file uniqueIdAllocator.h. Referenced by allocate(), free(), and output(). |
|
Definition at line 69 of file uniqueIdAllocator.h. Referenced by output(), and percent_used(). |
|
Definition at line 64 of file uniqueIdAllocator.h. Referenced by allocate(), free(), output(), and ~UniqueIdAllocator(). |
|
Definition at line 63 of file uniqueIdAllocator.h. Referenced by allocate(), and free(). |
|
Definition at line 60 of file uniqueIdAllocator.h. Referenced by allocate(), and free(). |
|
Definition at line 52 of file uniqueIdAllocator.h. |