KMemoryAllocator Class Reference

#include <kmemory.h>
Inheritance diagram for KMemoryAllocator:
Inheritance graph
[legend]

List of all members.


Detailed Description

Simple Memory allocator.

Definition at line 146 of file kmemory.h.


Public Member Functions

  KMemoryAllocator (const char *pId)
virtual  ~KMemoryAllocator ()
virtual void  Purge ()
virtual void *  Malloc (size_t pSize)
virtual void *  Calloc (size_t pCount, size_t pSize)
virtual void *  Realloc (void *pData, size_t pSize)
virtual void  Free (void *pData)

Constructor & Destructor Documentation

KMemoryAllocator ( const char *  pId  )  [inline, explicit]

Definition at line 149 of file kmemory.h.

virtual ~KMemoryAllocator (  )  [virtual]

Member Function Documentation

virtual void Purge (  )  [inline, virtual]

Reimplemented in KMemoryReusePool.

Definition at line 152 of file kmemory.h.

virtual void* Malloc ( size_t  pSize  )  [virtual]

Reimplemented in KMemoryReusePool.

virtual void* Calloc ( size_t  pCount,
size_t  pSize  
) [virtual]

Reimplemented in KMemoryReusePool.

virtual void* Realloc ( void *  pData,
size_t  pSize  
) [virtual]

Reimplemented in KMemoryReusePool.

virtual void Free ( void *  pData  )  [virtual]

Reimplemented in KMemoryReusePool.

KMemoryAllocator KMemoryAllocator KMemoryAllocator KMemoryAllocator KMemoryAllocator KMemoryAllocator KMemoryAllocator KMemoryAllocator KMemoryAllocator KMemoryAllocator
KMemoryAllocator KMemoryAllocator KMemoryAllocator KMemoryAllocator KMemoryAllocator KMemoryAllocator KMemoryAllocator KMemoryAllocator KMemoryAllocator KMemoryAllocator