OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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>

Inherited by Ogre::Controller< Real >, Ogre::ControllerFunction< Real >, Ogre::ControllerValue< Real >, Ogre::AbstractNode, Ogre::AndroidLogListener, Ogre::AndroidResourceManager, Ogre::AndroidResourceManager, Ogre::AnimableValue, Ogre::Animation, Ogre::AnimationState, Ogre::AnimationStateSet, Ogre::AnimationTrack, Ogre::Archive, Ogre::ArchiveFactory, Ogre::ArchiveManager, Ogre::AutoParamDataSource, Ogre::Billboard, Ogre::Bone, Ogre::BorderRenderable, Ogre::BspNode, Ogre::CgFxScriptLoader, Ogre::CgFxScriptLoader::CgStateListener, Ogre::CocoaContext, Ogre::Codec, Ogre::Codec::CodecData, Ogre::CompositorManager2, Ogre::CompositorNode, Ogre::CompositorPass, Ogre::CompositorPassDef, Ogre::CompositorPassProvider, Ogre::CompositorTargetDef, Ogre::CompositorWorkspace, Ogre::ConcreteNode, Ogre::ConfigDialog, Ogre::ConfigDialog, Ogre::ConfigDialog, Ogre::ConfigDialog, Ogre::ConfigDialog, Ogre::ConfigDialog, Ogre::ConfigDialog, Ogre::ConfigDialog, Ogre::ConfigDialog, Ogre::ConfigFile, Ogre::Controller< T >, Ogre::ControllerFunction< T >, Ogre::ControllerManager, Ogre::ControllerValue< T >, Ogre::D3D9Device, Ogre::D3D9DeviceManager, Ogre::D3D9Driver, Ogre::D3D9DriverList, Ogre::D3D9ResourceManager, Ogre::D3D9VideoModeList, Ogre::DataStream, Ogre::DefaultWorkQueueBase::RequestHandlerHolder, Ogre::DepthBuffer, Ogre::DynLib, Ogre::DynLibManager, Ogre::EdgeData, Ogre::ExternalTextureSourceManager, Ogre::FileSystemLayer, Ogre::FrameStats, Ogre::GLES2StateCacheManager, Ogre::GLES2StateCacheManagerImp, Ogre::GLES2StateCacheManagerImp, Ogre::GLES2UniformCache, Ogre::GLES2UniformCacheImp, Ogre::GLES2UniformCacheImp, Ogre::GLESStateCacheManager, Ogre::GLESStateCacheManagerImp, Ogre::GLESStateCacheManagerImp, Ogre::GLStateCacheManager, Ogre::GLStateCacheManagerImp, Ogre::GLStateCacheManagerImp, Ogre::GLUniformCache, Ogre::GLUniformCacheImp, Ogre::GLUniformCacheImp, Ogre::GpuLogicalBufferStruct, Ogre::GpuNamedConstants, Ogre::GpuProgramParameters, Ogre::GpuProgramUsage, Ogre::GpuSharedParameters, Ogre::GpuSharedParametersUsage, Ogre::HardwareBuffer, Ogre::HardwareBufferManagerBase, Ogre::HardwareOcclusionQuery, Ogre::HighLevelGpuProgramFactory, Ogre::Hlms, Ogre::HlmsManager, Ogre::IlluminationPass, Ogre::Image, Ogre::IndexData, Ogre::InstanceManager, Ogre::IntersectionSceneQueryResult, Ogre::KeyFrame, Ogre::LodStrategy, Ogre::LodStrategyManager, Ogre::Log, Ogre::LogManager, Ogre::ManualObject::ManualObjectSection, Ogre::MaterialSerializer, Ogre::MeshSerializer::MeshVersionData, Ogre::MovableObject, Ogre::MovableObjectFactory, Ogre::Node, Ogre::Node::DebugRenderable, Ogre::Octree, Ogre::Octree, Ogre::OldNode, Ogre::OldNode::DebugRenderable, Ogre::OSXCarbonContext, Ogre::OSXCGLContext, Ogre::OSXCocoaContext, Ogre::OSXPBuffer, Ogre::Overlay, Ogre::OverlayElement, Ogre::OverlayElementFactory, Ogre::OverlayManager, Ogre::OverlaySystem, Ogre::Page, Ogre::Page::PageData, Ogre::PageContent, Ogre::PageContentCollection, Ogre::PageContentCollectionFactory, Ogre::PageContentFactory, Ogre::PagedWorld, Ogre::PagedWorldSection, Ogre::PagedWorldSectionFactory, Ogre::PageManager, Ogre::PageStrategy, Ogre::PageStrategyData, Ogre::Particle, Ogre::ParticleAffector, Ogre::ParticleAffectorFactory, Ogre::ParticleEmitterFactory, Ogre::ParticleSystemManager, Ogre::ParticleSystemRenderer, Ogre::ParticleSystemRendererFactory, Ogre::ParticleVisualData, Ogre::Pass, Ogre::PatchSurface, Ogre::PCZone, Ogre::PCZoneFactory, Ogre::PCZoneFactoryManager, Ogre::PixelBox, Ogre::Plugin, Ogre::Pose, Ogre::Profile, Ogre::ProfileInstance, Ogre::Profiler, Ogre::PropertyBase, Ogre::PropertyDef, Ogre::PropertySet, Ogre::Quake3Level, Ogre::Quake3Shader, Ogre::Quake3ShaderManager, Ogre::QueuedRenderableCollection, Ogre::Rectangle2D, Ogre::RenderPriorityGroup, Ogre::RenderQueue, Ogre::RenderQueueGroup, Ogre::RenderQueueInvocation, Ogre::RenderQueueInvocationSequence, Ogre::RenderSystem, Ogre::RenderSystemCapabilities, Ogre::RenderSystemCapabilitiesManager, Ogre::RenderSystemCapabilitiesSerializer, Ogre::RenderTarget, Ogre::Resource, Ogre::ResourceBackgroundQueue, Ogre::ResourceGroupManager, Ogre::ResourceManager, Ogre::ResourceManager::ResourcePool, Ogre::Root, Ogre::RTShader::Function, Ogre::RTShader::FunctionAtom, Ogre::RTShader::Operand, Ogre::RTShader::Parameter, Ogre::RTShader::Program, Ogre::RTShader::ProgramManager, Ogre::RTShader::ProgramProcessor, Ogre::RTShader::ProgramSet, Ogre::RTShader::ProgramWriter, Ogre::RTShader::ProgramWriterFactory, Ogre::RTShader::ProgramWriterManager, Ogre::RTShader::RenderState, Ogre::RTShader::SGMaterialSerializerListener, Ogre::RTShader::ShaderGenerator, Ogre::RTShader::ShaderGenerator::SGMaterial, Ogre::RTShader::ShaderGenerator::SGPass, Ogre::RTShader::ShaderGenerator::SGRenderObjectListener, Ogre::RTShader::ShaderGenerator::SGSceneManagerListener, Ogre::RTShader::ShaderGenerator::SGScheme, Ogre::RTShader::ShaderGenerator::SGTechnique, Ogre::RTShader::SubRenderState, Ogre::RTShader::SubRenderStateFactory, Ogre::SceneManager, Ogre::SceneManagerEnumerator, Ogre::SceneManagerFactory, Ogre::SceneQuery, Ogre::SceneQueryResult, Ogre::ScriptCompiler, Ogre::ScriptCompiler::Error, Ogre::ScriptCompilerManager, Ogre::ScriptLexer, Ogre::ScriptParser, Ogre::ScriptTranslator, Ogre::ScriptTranslatorManager, Ogre::Serializer, Ogre::ShadowCameraSetup, Ogre::ShadowTextureDefinition, Ogre::ShadowTextureManager, Ogre::ShadowVolumeExtrudeProgram, Ogre::SkeletonAnimation, Ogre::SkeletonAnimationDef, Ogre::SkeletonDef, Ogre::SkeletonInstance, Ogre::SkeletonManager, Ogre::SkeletonTrack, Ogre::StaticGeometry, Ogre::StaticGeometry::GeometryBucket, Ogre::StaticGeometry::LODBucket, Ogre::StaticGeometry::MaterialBucket, Ogre::StaticGeometry::OptimisedSubMeshGeometry, Ogre::StaticGeometry::QueuedGeometry, Ogre::StaticGeometry::QueuedSubMesh, Ogre::StreamSerialiser, Ogre::StreamSerialiser::Chunk, Ogre::SubEntity, Ogre::SubMesh, Ogre::Technique, Ogre::TempBlendedBufferInfo, Ogre::Terrain, Ogre::Terrain::GpuBufferAllocator, Ogre::TerrainAutoUpdateLod, Ogre::TerrainGlobalOptions, Ogre::TerrainGroup, Ogre::TerrainGroup::TerrainSlot, Ogre::TerrainLayerBlendMap, Ogre::TerrainLodManager, Ogre::TerrainMaterialGenerator, Ogre::TerrainMaterialGenerator::Profile, Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper, Ogre::TerrainPagedWorldSection::TerrainDefiner, Ogre::TerrainPaging, Ogre::TerrainQuadTreeNode, Ogre::TerrainQuadTreeNode::LodLevel, Ogre::TerrainQuadTreeNode::Rend, Ogre::TerrainQuadTreeNode::VertexDataRecord, Ogre::TextureDefinitionBase, Ogre::TextureDefinitionBase::TextureDefinition, Ogre::TextureUnitState, Ogre::Timer, Ogre::Timer, Ogre::Timer, Ogre::Timer, Ogre::Timer, Ogre::Timer, Ogre::Timer, Ogre::UserObjectBindings, Ogre::UserObjectBindings::Attributes, Ogre::VertexBufferBinding, Ogre::VertexCacheProfiler, Ogre::VertexData, Ogre::VertexDeclaration, Ogre::VertexElement, Ogre::Viewport, Ogre::Volume::DualGridGenerator, Ogre::Volume::IsoSurface, Ogre::Volume::MeshBuilder, Ogre::Volume::OctreeNode, Ogre::WorkQueue, Ogre::WorkQueue::Request, Ogre::WorkQueue::Response, and Ogre::ZoneData.

Public Member Functions

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

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

Definition at line 58 of file OgreMemoryAllocatedObject.h.

Constructor & Destructor Documentation

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

Definition at line 61 of file OgreMemoryAllocatedObject.h.

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

Definition at line 64 of file OgreMemoryAllocatedObject.h.

Member Function Documentation

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

Definition at line 96 of file OgreMemoryAllocatedObject.h.

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

Definition at line 102 of file OgreMemoryAllocatedObject.h.

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

Definition at line 108 of file OgreMemoryAllocatedObject.h.

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

Definition at line 113 of file OgreMemoryAllocatedObject.h.

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

Definition at line 119 of file OgreMemoryAllocatedObject.h.

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

Definition at line 68 of file OgreMemoryAllocatedObject.h.

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

Definition at line 73 of file OgreMemoryAllocatedObject.h.

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

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

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

Definition at line 86 of file OgreMemoryAllocatedObject.h.

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

Definition at line 91 of file OgreMemoryAllocatedObject.h.


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