|Public API Reference|
Inheritance diagram for aeMemoryManager:
Public Member Functions
|aeMemoryManager (int blocks, int maxdumpbytes=256)|
|Memory manager constructor. |
Static Public Member Functions
|void||registerBlock (void *addr, size_t size, const char *filename, int linenumber)|
|Static method: called from overloaded "new"-operator. |
|void||unregisterBlock (void *addr)|
|Static method: called from overloaded "delete"-operator. |
|Map containing the blockdescriptors.|
|Dump-output: column is 4 bytes.|
|Dump-output: max. amount of bytes to dump.|
Static Private Attributes
|Static global self ref.|
Definition at line 34 of file memorymanager.h.
Memory manager constructor.
Static method: called from overloaded "new"-operator.
It creates a new descriptor and registers it in the memmanager referenced by it's global selfptr.
Static method: called from overloaded "delete"-operator.
It searches for a machting descriptor in the memmanager pointed to by it's global self-ref, unregisters it and deletes it.