Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MemoryAllocator.h File Reference

#include "DLLStuff.h"

Namespaces

namespace  Moteur3D

Classes

class  Moteur3D::MemoryAllocator
 The MemoryAllocator class allows you to allocate a whole memory block at once and distribute it when needed. Its main purpose is to remove the malloc overhead each time you want to allocate and deallocate memory. More...

Defines

#define MEMALIGN   16
#define ALIGNUP(nAddress)   ( ( ( (unsigned int)nAddress ) + MEMALIGN - 1 ) & ( ~( MEMALIGN - 1 ) ) )

Functions

void * Moteur3D::operator new (size_t bytes, Moteur3D::MemoryAllocator &ma)
void * Moteur3D::operator new (size_t bytes, Moteur3D::MemoryAllocator *ma)
void Moteur3D::operator delete (void *p, Moteur3D::MemoryAllocator &ma)
void Moteur3D::operator delete (void *p, Moteur3D::MemoryAllocator *ma)

Define Documentation

#define ALIGNUP nAddress   )     ( ( ( (unsigned int)nAddress ) + MEMALIGN - 1 ) & ( ~( MEMALIGN - 1 ) ) )
 

#define MEMALIGN   16
 


Generated on Sat Oct 15 15:05:51 2005 for Moteur3D by  doxygen 1.4.4