Ogre::CategorisedAlignAllocPolicy< Cat, align > Class Template Reference

`#include <OgreMemoryAllocatorConfig.h>`

Inheritance diagram for Ogre::CategorisedAlignAllocPolicy< Cat, align >:
[legend]

## 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

## IsValidAlignment

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

inherited

Definition at line 110 of file OgreMemoryNedPooling.h.

## Member Function Documentation

## allocateBytes()

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

static inherited

Definition at line 112 of file OgreMemoryNedPooling.h.

References Ogre::NedPoolingImpl::allocBytesAligned().

## deallocateBytes()

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

static inherited

Definition at line 118 of file OgreMemoryNedPooling.h.

References Ogre::NedPoolingImpl::deallocBytesAligned().

## getMaxAllocationSize()

static size_t Ogre::NedPoolingAlignedPolicy< Alignment >::getMaxAllocationSize | ( |  | ) |

static inherited

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:

- OgreMemoryAllocatorConfig.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.