An allocation policy for use with AllocatedObject and STLAllocator. More...
#include <OgreMemoryNedPooling.h>
Static Public Member Functions | |
static void * | allocateBytes (size_t count, const char *file=0, int line=0, const char *func=0) |
static void | deallocateBytes (void *ptr) |
static size_t | getMaxAllocationSize () |
Get the maximum size of a single allocation. More... | |
Private Member Functions | |
NedPoolingPolicy () | |
An allocation policy for use with AllocatedObject and STLAllocator.
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 67 of file OgreMemoryNedPooling.h.
|
inlineprivate |
Definition at line 87 of file OgreMemoryNedPooling.h.
|
inlinestatic |
Definition at line 70 of file OgreMemoryNedPooling.h.
References Ogre::NedPoolingImpl::allocBytes().
|
inlinestatic |
Definition at line 75 of file OgreMemoryNedPooling.h.
References Ogre::NedPoolingImpl::deallocBytes().
|
inlinestatic |
Get the maximum size of a single allocation.
Definition at line 80 of file OgreMemoryNedPooling.h.