#include <memory_manager_chunks.h>
Definition at line 42 of file memory_manager_chunks.h.
CVC3::MemoryManagerChunks::MemoryManagerChunks | ( | unsigned | dataSize, | |
unsigned | chunkSize = 1024 | |||
) | [inline] |
Definition at line 64 of file memory_manager_chunks.h.
CVC3::MemoryManagerChunks::~MemoryManagerChunks | ( | ) | [inline] |
void CVC3::MemoryManagerChunks::newChunk | ( | ) | [inline, private] |
Definition at line 55 of file memory_manager_chunks.h.
References d_chunkList, d_chunkSizeBytes, d_endChunk, d_nextFree, and FatalAssert.
Referenced by newData().
void* CVC3::MemoryManagerChunks::newData | ( | size_t | size | ) | [inline, virtual] |
Implements CVC3::MemoryManager.
Definition at line 76 of file memory_manager_chunks.h.
References d_dataSize, d_endChunk, d_freeList, d_nextFree, DebugAssert, and newChunk().
void CVC3::MemoryManagerChunks::deleteData | ( | void * | d | ) | [inline, virtual] |
Implements CVC3::MemoryManager.
Definition at line 93 of file memory_manager_chunks.h.
References d_freeList.
unsigned CVC3::MemoryManagerChunks::d_dataSize [private] |
unsigned CVC3::MemoryManagerChunks::d_chunkSize [private] |
Definition at line 45 of file memory_manager_chunks.h.
unsigned CVC3::MemoryManagerChunks::d_chunkSizeBytes [private] |
std::vector<char*> CVC3::MemoryManagerChunks::d_freeList [private] |
std::vector<char*> CVC3::MemoryManagerChunks::d_chunkList [private] |
Definition at line 48 of file memory_manager_chunks.h.
Referenced by newChunk(), and ~MemoryManagerChunks().
char* CVC3::MemoryManagerChunks::d_nextFree [private] |
char* CVC3::MemoryManagerChunks::d_endChunk [private] |