#include <OgreMemoryStdAlloc.h>
Public Types | |
typedef int | IsValidAlignment [Alignment<=128 &&((Alignment &(Alignment-1))==0)?+1:-1] |
Static Public Member Functions | |
static void * | allocateBytes (size_t count, const char *=0, int=0, const char *=0) |
static void | deallocateBytes (void *ptr) |
static size_t | getMaxAllocationSize () |
Get the maximum size of a single allocation. | |
Private Member Functions | |
StdAlignedAllocPolicy () |
This is the class that actually does the allocation and deallocation of physical memory, and is what you will want to provide a custom version of if you wish to change how memory is allocated.
Definition at line 101 of file OgreMemoryStdAlloc.h.
typedef int Ogre::StdAlignedAllocPolicy< Alignment >::IsValidAlignment[Alignment<=128 &&((Alignment &(Alignment-1))==0)?+1:-1] |
Definition at line 106 of file OgreMemoryStdAlloc.h.
Ogre::StdAlignedAllocPolicy< Alignment >::StdAlignedAllocPolicy | ( | ) | [private] |
Definition at line 140 of file OgreMemoryStdAlloc.h.
static void* Ogre::StdAlignedAllocPolicy< Alignment >::allocateBytes | ( | size_t | count, | |
const char * | = 0 , |
|||
int | = 0 , |
|||
const char * | = 0 | |||
) | [static] |
static void Ogre::StdAlignedAllocPolicy< Alignment >::deallocateBytes | ( | void * | ptr | ) | [static] |
static size_t Ogre::StdAlignedAllocPolicy< Alignment >::getMaxAllocationSize | ( | ) | [static] |
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Sep 27 22:04:09 2009