Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

CDefaultMemoryManager Class Reference

This class is simply a wrapper arround malloc and free. More...

Inheritance diagram for CDefaultMemoryManager:

Inheritance graph
[legend]
Collaboration diagram for CDefaultMemoryManager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void * Request (unsigned long length)
 The request function returns a pointer to new dynamically allocated memory.
virtual void Free (void *ptr)
 The free function releases a dynamically allocated block of memory.

Detailed Description

This class is simply a wrapper arround malloc and free.

At the moment this class is not used anywhere in the code.

See also:
IMemory

CMemoryTracker


Member Function Documentation

void CDefaultMemoryManager::Free void *  ptr  )  [virtual]
 

The free function releases a dynamically allocated block of memory.

Using memory after a free operation is an error.

Parameters:
ptr the pointer to the memory to be freed.

Implements IMemory.

void * CDefaultMemoryManager::Request unsigned long  length  )  [virtual]
 

The request function returns a pointer to new dynamically allocated memory.

Parameters:
length the size of the requested memory in bytes.
Returns:
the pointer to the new memory.

Implements IMemory.


The documentation for this class was generated from the following files:
Generated on Sat Apr 16 16:31:09 2005 for Centum API by  doxygen 1.4.2