Memory management

Collaboration diagram for Memory management:


Modules

 Allocation/deallocation functions
 A thread-safe, cross-platform template metaprogrammed memory pool allocation system.
 Object creation and destruction
 Replacements for operators new and delete. Constructors can handle up to 10 arguments of arbitary types.
 Garbage Collection

Functions

void * LDK::bigAlloc (size_t size)
template<size_t Size>
void * LDK::alloc (const char *file, int line)
void * LDK::alloc (const char *file, int line, size_t size)
void * LDK::realloc (const char *file, int line, void *mem, size_t newSize)
template<class T>
T * LDK::create (const char *file, int line)
template<class T, typename C1>
T * LDK::create (const char *file, int line, C1 c1)
template<class T, typename C1, typename C2>
T * LDK::create (const char *file, int line, C1 c1, C2 c2)
template<class T, typename C1, typename C2, typename C3>
T * LDK::create (const char *file, int line, C1 c1, C2 c2, C3 c3)
template<class T, typename C1, typename C2, typename C3, typename C4>
T * LDK::create (const char *file, int line, C1 c1, C2 c2, C3 c3, C4 c4)
template<class T, typename C1, typename C2, typename C3, typename C4, typename C5>
T * LDK::create (const char *file, int line, C1 c1, C2 c2, C3 c3, C4 c4, C5 c5)
template<class T, typename C1, typename C2, typename C3, typename C4, typename C5, typename C6>
T * LDK::create (const char *file, int line, C1 c1, C2 c2, C3 c3, C4 c4, C5 c5, C6 c6)
template<class T, typename C1, typename C2, typename C3, typename C4, typename C5, typename C6, typename C7>
T * LDK::create (const char *file, int line, C1 c1, C2 c2, C3 c3, C4 c4, C5 c5, C6 c6, C7 c7)
template<class T, typename C1, typename C2, typename C3, typename C4, typename C5, typename C6, typename C7, typename C8>
T * LDK::create (const char *file, int line, C1 c1, C2 c2, C3 c3, C4 c4, C5 c5, C6 c6, C7 c7, C8 c8)
template<class T, typename C1, typename C2, typename C3, typename C4, typename C5, typename C6, typename C7, typename C8, typename C9>
T * LDK::create (const char *file, int line, C1 c1, C2 c2, C3 c3, C4 c4, C5 c5, C6 c6, C7 c7, C8 c8, C9 c9)
template<class T, typename C1, typename C2, typename C3, typename C4, typename C5, typename C6, typename C7, typename C8, typename C9, typename C10>
T * LDK::create (const char *file, int line, C1 c1, C2 c2, C3 c3, C4 c4, C5 c5, C6 c6, C7 c7, C8 c8, C9 c9, C10 c10)

Generated on Fri Aug 17 18:32:27 2007 for LDK by  doxygen 1.5.1