#include <a2dmemmgr.h>

Public Member Functions | |
| a2dMemManager (const wxChar *mgrname) | |
| contructor of memory manager | |
| ~a2dMemManager () | |
| destructor of memory manager | |
| void * | Allocate (size_t bytes) |
| function for allocating memory block by size bytes | |
| void | Deallocate (void *space, size_t bytes) |
| function for adding memory block by size bytes to list of freed memory blocks | |
Classes | |
| struct | a2dFreeList |
| a list of freed memory blocks | |
Definition at line 20 of file a2dmemmgr.h.
| a2dMemManager::~a2dMemManager | ( | ) |
destructor of memory manager
Destroing all lists of freed memory blocks which were allocated in Allocate() by OS-system allocation calls
Definition at line 27 of file a2dmemmgr.cpp.
| void * a2dMemManager::Allocate | ( | size_t | bytes | ) |
function for allocating memory block by size bytes
Returns pointer to freed block if exists in lists or calls OS-system function for allocating memory block
Definition at line 47 of file a2dmemmgr.cpp.