OGRE  1.9
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::CategorisedAlignAllocPolicy< Cat, align > Class Template Reference

#include <OgreMemoryAllocatorConfig.h>

+ Inheritance diagram for Ogre::CategorisedAlignAllocPolicy< Cat, align >:
+ Collaboration diagram for Ogre::CategorisedAlignAllocPolicy< Cat, align >:

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 *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...

Detailed Description

template<MemoryCategory Cat, size_t align = 0>
class Ogre::CategorisedAlignAllocPolicy< Cat, align >

Definition at line 202 of file OgreMemoryAllocatorConfig.h.

Member Typedef Documentation

typedef int Ogre::NedPoolingAlignedPolicy< Alignment >::IsValidAlignment[Alignment<=128 &&((Alignment &(Alignment-1))==0)?+1:-1]

Definition at line 110 of file OgreMemoryNedPooling.h.

Member Function Documentation

static void* Ogre::NedPoolingAlignedPolicy< Alignment >::allocateBytes ( size_t  count,
const char *  file = 0,
int  line = 0,
const char *  func = 0 

Definition at line 112 of file OgreMemoryNedPooling.h.

References Ogre::NedPoolingImpl::allocBytesAligned().

static void Ogre::NedPoolingAlignedPolicy< Alignment >::deallocateBytes ( void *  ptr)
static size_t Ogre::NedPoolingAlignedPolicy< Alignment >::getMaxAllocationSize ( )

Get the maximum size of a single allocation.

Definition at line 124 of file OgreMemoryNedPooling.h.

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