cgma
AllocMemManagersList.cpp
Go to the documentation of this file.
00001 #include "DLList.hpp"
00002 #include "SDLList.hpp"
00003 
00004 const int ARRAYMEMORY_ALLOC_SIZE    = 8192;
00005 const int DLLIST_ALLOC_SIZE         = 1024;
00006 const int SDLLIST_ALLOC_SIZE        = 128;
00007 const int DYNAMIC_ARRAY_ALLOC_SIZE  = 4096;
00008 const int QUEUE_NODE_ALLOC_SIZE     = 512;
00009 const int TREE_ALLOC_SIZE           = 128;
00010 
00011 MemoryManager ArrayMemory::memoryManager("ArrayMemory", sizeof(ArrayMemory),
00012                                          ARRAYMEMORY_ALLOC_SIZE,
00013                                          STATIC_MEMORY_MANAGER);
00014 MemoryManager DLList::memoryManager("DLList", sizeof(DLList),
00015                                     DLLIST_ALLOC_SIZE,
00016                                     STATIC_MEMORY_MANAGER);
00017 MemoryManager SDLList::memoryManager("SDLList", sizeof(SDLList),
00018                                      SDLLIST_ALLOC_SIZE,
00019                                      STATIC_MEMORY_MANAGER);
00020 
00021 #include "TDCellIndex.hpp"
00022 const int CELL_INDEX_ALLOC_SIZE     = 1024;
00023 MemoryManager TDCellIndex::memoryManager("TDCellIndex", sizeof(TDCellIndex),
00024                                          CELL_INDEX_ALLOC_SIZE,
00025                                          STATIC_MEMORY_MANAGER);
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines