OGRE 2.3.3
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::AllocatedObject< Alloc > Class Template Reference

Superclass for all objects that wish to use custom memory allocators when their new / delete operators are called. More...

#include <OgreMemoryAllocatedObject.h>

Public Member Functions

 AllocatedObject ()
 ~AllocatedObject ()
void operator delete (void *ptr)
void operator delete (void *ptr, const char *, int, const char *)
void operator delete (void *ptr, void *)
void operator delete[] (void *ptr)
void operator delete[] (void *ptr, const char *, int, const char *)
void * operator new (size_t sz)
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info
void * operator new (size_t sz, void *ptr)
 placement operator new
void * operator new[] (size_t sz)
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info

Detailed Description

template<class Alloc>
class Ogre::AllocatedObject< Alloc >

Superclass for all objects that wish to use custom memory allocators when their new / delete operators are called.

Requires a template parameter identifying the memory allocator policy to use (e.g. see StdAllocPolicy).

Constructor & Destructor Documentation

◆ AllocatedObject()

template<class Alloc>
Ogre::AllocatedObject< Alloc >::AllocatedObject ( )
inlineexplicit

◆ ~AllocatedObject()

template<class Alloc>
Ogre::AllocatedObject< Alloc >::~AllocatedObject ( )
inline

Member Function Documentation

◆ operator delete() [1/3]

template<class Alloc>
void Ogre::AllocatedObject< Alloc >::operator delete ( void * ptr)
inline

◆ operator delete() [2/3]

template<class Alloc>
void Ogre::AllocatedObject< Alloc >::operator delete ( void * ptr,
const char * ,
int ,
const char *  )
inline

◆ operator delete() [3/3]

template<class Alloc>
void Ogre::AllocatedObject< Alloc >::operator delete ( void * ptr,
void *  )
inline

◆ operator delete[]() [1/2]

template<class Alloc>
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void * ptr)
inline

◆ operator delete[]() [2/2]

template<class Alloc>
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void * ptr,
const char * ,
int ,
const char *  )
inline

◆ operator new() [1/3]

template<class Alloc>
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t sz)
inline

◆ operator new() [2/3]

template<class Alloc>
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t sz,
const char * file,
int line,
const char * func )
inline

operator new, with debug line info

◆ operator new() [3/3]

template<class Alloc>
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t sz,
void * ptr )
inline

placement operator new

◆ operator new[]() [1/2]

template<class Alloc>
void * Ogre::AllocatedObject< Alloc >::operator new[] ( size_t sz)
inline

◆ operator new[]() [2/2]

template<class Alloc>
void * Ogre::AllocatedObject< Alloc >::operator new[] ( size_t sz,
const char * file,
int line,
const char * func )
inline

array operator new, with debug line info


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