14 #ifndef __A2DMEMMGR_H__
15 #define __A2DMEMMGR_H__
37 a2dFreeList( a2dFreeList* next,
size_t blockSize )
40 m_blockSize( blockSize ),
46 a2dFreeList* m_allLists;
50 const wxChar* m_mgrname;
56 a2dMemManager(
const wxChar* mgrname ) : m_allLists( NULL ), m_count( 0 ), m_mgrname( mgrname )
69 void* Allocate(
size_t bytes );
76 void Deallocate(
void* space,
size_t bytes );
81 extern A2DGENERALDLLEXP wxString a2dGetStackTrace(
size_t skip = 1,
bool withArgs =
false,
int maxCalls = 30,
int maxLines = 20 );
84 #endif // __A2DMEMMGR_H__
Simple Memory manager for some objects which often create and destroy to replace OS-system calls...
a2dMemManager(const wxChar *mgrname)
contructor of memory manager
smart pointer class and list.