OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::TrackAlignedAllocPolicy< Alignment > Class Template Reference

TrackAllocPolicy More...

#include <OgreMemoryTrackAlloc.h>

Public Types

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

Static Public Member Functions

static DECL_MALLOC 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. More...

Private Member Functions

 TrackAlignedAllocPolicy ()

Detailed Description

template<size_t Alignment = 0>
class Ogre::TrackAlignedAllocPolicy< Alignment >


Definition at line 86 of file OgreMemoryTrackAlloc.h.

Member Typedef Documentation

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

Definition at line 91 of file OgreMemoryTrackAlloc.h.

Constructor & Destructor Documentation

template<size_t Alignment = 0>
Ogre::TrackAlignedAllocPolicy< Alignment >::TrackAlignedAllocPolicy ( )

Definition at line 148 of file OgreMemoryTrackAlloc.h.

Member Function Documentation

template<size_t Alignment = 0>
static DECL_MALLOC void* Ogre::TrackAlignedAllocPolicy< Alignment >::allocateBytes ( size_t  count,
const char *  = 0,
int  = 0,
const char *  = 0 
template<size_t Alignment = 0>
static void Ogre::TrackAlignedAllocPolicy< Alignment >::deallocateBytes ( void *  ptr)

Definition at line 128 of file OgreMemoryTrackAlloc.h.

References Ogre::TrackAllocPolicy::deallocateBytes().

template<size_t Alignment = 0>
static size_t Ogre::TrackAlignedAllocPolicy< Alignment >::getMaxAllocationSize ( )

Get the maximum size of a single allocation.

Definition at line 142 of file OgreMemoryTrackAlloc.h.


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