Blender V2.61 - r43446
Public Member Functions

VirtualMemoryAllocator Class Reference

#include <MemoryAllocator.h>

Inheritance diagram for VirtualMemoryAllocator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual UCHAR * allocate ()=0
virtual void deallocate (UCHAR *obj)=0
virtual void destroy ()=0
virtual void printInfo ()=0
virtual int getAllocated ()=0
virtual int getAll ()=0
virtual int getBytes ()=0

Detailed Description

Customized memory allocators that allocates/deallocates memory in chunks

Author:
Tao Ju Base class of memory allocators

Definition at line 43 of file MemoryAllocator.h.


Member Function Documentation

virtual UCHAR* VirtualMemoryAllocator::allocate ( ) [pure virtual]

Implemented in MemoryAllocator< N >.

virtual void VirtualMemoryAllocator::deallocate ( UCHAR *  obj) [pure virtual]

Implemented in MemoryAllocator< N >.

virtual void VirtualMemoryAllocator::destroy ( ) [pure virtual]

Implemented in MemoryAllocator< N >.

virtual int VirtualMemoryAllocator::getAll ( ) [pure virtual]

Implemented in MemoryAllocator< N >.

virtual int VirtualMemoryAllocator::getAllocated ( ) [pure virtual]

Implemented in MemoryAllocator< N >.

virtual int VirtualMemoryAllocator::getBytes ( ) [pure virtual]

Implemented in MemoryAllocator< N >.

virtual void VirtualMemoryAllocator::printInfo ( ) [pure virtual]

Implemented in MemoryAllocator< N >.


The documentation for this class was generated from the following file: