CVCL::MemoryManagerChunks Class Reference

#include <memory_manager_chunks.h>

Inheritance diagram for CVCL::MemoryManagerChunks:

Inheritance graph
[legend]
Collaboration diagram for CVCL::MemoryManagerChunks:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Private Member Functions

Private Attributes


Detailed Description

Definition at line 50 of file memory_manager_chunks.h.


Constructor & Destructor Documentation

CVCL::MemoryManagerChunks::MemoryManagerChunks unsigned  dataSize,
unsigned  chunkSize = 1024
[inline]
 

Definition at line 72 of file memory_manager_chunks.h.

CVCL::MemoryManagerChunks::~MemoryManagerChunks  )  [inline]
 

Definition at line 77 of file memory_manager_chunks.h.

References d_chunkList.


Member Function Documentation

void CVCL::MemoryManagerChunks::newChunk  )  [inline, private]
 

Definition at line 63 of file memory_manager_chunks.h.

References d_chunkList, d_chunkSizeBytes, d_endChunk, and d_nextFree.

Referenced by newData().

void* CVCL::MemoryManagerChunks::newData size_t  size  )  [inline, virtual]
 

Implements CVCL::MemoryManager.

Definition at line 84 of file memory_manager_chunks.h.

References d_dataSize, d_endChunk, d_freeList, d_nextFree, and newChunk().

void CVCL::MemoryManagerChunks::deleteData void *  d  )  [inline, virtual]
 

Implements CVCL::MemoryManager.

Definition at line 101 of file memory_manager_chunks.h.

References d_freeList.


Member Data Documentation

unsigned CVCL::MemoryManagerChunks::d_dataSize [private]
 

Definition at line 52 of file memory_manager_chunks.h.

Referenced by newData().

unsigned CVCL::MemoryManagerChunks::d_chunkSize [private]
 

Definition at line 53 of file memory_manager_chunks.h.

unsigned CVCL::MemoryManagerChunks::d_chunkSizeBytes [private]
 

Definition at line 54 of file memory_manager_chunks.h.

Referenced by newChunk().

std::vector<char*> CVCL::MemoryManagerChunks::d_freeList [private]
 

Definition at line 55 of file memory_manager_chunks.h.

Referenced by deleteData(), and newData().

std::vector<char*> CVCL::MemoryManagerChunks::d_chunkList [private]
 

Definition at line 56 of file memory_manager_chunks.h.

Referenced by newChunk(), and ~MemoryManagerChunks().

char* CVCL::MemoryManagerChunks::d_nextFree [private]
 

Definition at line 58 of file memory_manager_chunks.h.

Referenced by newChunk(), and newData().

char* CVCL::MemoryManagerChunks::d_endChunk [private]
 

Definition at line 60 of file memory_manager_chunks.h.

Referenced by newChunk(), and newData().


The documentation for this class was generated from the following file:
Generated on Thu Apr 13 16:57:43 2006 for CVC Lite by  doxygen 1.4.4