doom3-gpl
Doom 3 GPL source release
|
#include <Heap.h>
Classes | |
struct | block_s |
struct | element_s |
Public Member Functions | |
idBlockAlloc (void) | |
~idBlockAlloc (void) | |
void | Shutdown (void) |
type * | Alloc (void) |
void | Free (type *element) |
int | GetTotalCount (void) const |
int | GetAllocCount (void) const |
int | GetFreeCount (void) const |
Private Types | |
typedef struct idBlockAlloc::element_s | element_t |
typedef struct idBlockAlloc::block_s | block_t |
Private Attributes | |
block_t * | blocks |
element_t * | free |
int | total |
int | active |
|
private |
|
private |
idBlockAlloc< type, blockSize >::idBlockAlloc | ( | void | ) |
idBlockAlloc< type, blockSize >::~idBlockAlloc | ( | void | ) |
type * idBlockAlloc< type, blockSize >::Alloc | ( | void | ) |
void idBlockAlloc< type, blockSize >::Free | ( | type * | element | ) |
|
inline |
|
inline |
|
inline |
void idBlockAlloc< type, blockSize >::Shutdown | ( | void | ) |
|
private |
|
private |
|
private |
|
private |