Template class for creating single-instance global classes. More...
#include <OgreSingleton.h>
Public Member Functions | |
Singleton (void) | |
~Singleton (void) | |
Static Public Member Functions | |
static T & | getSingleton (void) |
static T * | getSingletonPtr (void) |
Static Protected Attributes | |
static T * | msSingleton |
Private Member Functions | |
Singleton (const Singleton< T > &) | |
Explicit private copy constructor. | |
Singleton & | operator= (const Singleton< T > &) |
Private operator= . |
Template class for creating single-instance global classes.
Definition at line 64 of file OgreSingleton.h.
Ogre::Singleton< T >::Singleton | ( | const Singleton< T > & | ) | [private] |
Explicit private copy constructor.
This is a forbidden operation.
Ogre::Singleton< T >::Singleton | ( | void | ) |
Definition at line 78 of file OgreSingleton.h.
Ogre::Singleton< T >::~Singleton | ( | void | ) |
Definition at line 88 of file OgreSingleton.h.
static T& Ogre::Singleton< T >::getSingleton | ( | void | ) | [static] |
Reimplemented in Ogre::ArchiveManager, Ogre::CompositorManager, Ogre::ControllerManager, Ogre::DistanceLodStrategy, Ogre::DynLibManager, Ogre::ExternalTextureSourceManager, Ogre::FontManager, Ogre::GpuProgramManager, Ogre::HardwareBufferManager, Ogre::HighLevelGpuProgramManager, Ogre::LodStrategyManager, Ogre::LogManager, Ogre::MaterialManager, Ogre::MeshManager, Ogre::OverlayManager, Ogre::ParticleSystemManager, Ogre::PixelCountLodStrategy, Ogre::Profiler, Ogre::RenderSystemCapabilitiesManager, Ogre::ResourceBackgroundQueue, Ogre::ResourceGroupManager, Ogre::Root, Ogre::SceneManagerEnumerator, Ogre::ScriptCompilerManager, Ogre::ShadowTextureManager, Ogre::SkeletonManager, Ogre::TextureManager, Ogre::RTShader::ShaderGenerator, Ogre::RTShader::ProgramManager, Ogre::RTShader::ProgramWriterManager, and Ogre::TerrainGlobalOptions.
Definition at line 90 of file OgreSingleton.h.
static T* Ogre::Singleton< T >::getSingletonPtr | ( | void | ) | [static] |
Reimplemented in Ogre::ArchiveManager, Ogre::CompositorManager, Ogre::ControllerManager, Ogre::DistanceLodStrategy, Ogre::DynLibManager, Ogre::ExternalTextureSourceManager, Ogre::FontManager, Ogre::GpuProgramManager, Ogre::HardwareBufferManager, Ogre::HighLevelGpuProgramManager, Ogre::LodStrategyManager, Ogre::LogManager, Ogre::MaterialManager, Ogre::MeshManager, Ogre::OverlayManager, Ogre::ParticleSystemManager, Ogre::PixelCountLodStrategy, Ogre::Profiler, Ogre::RenderSystemCapabilitiesManager, Ogre::ResourceBackgroundQueue, Ogre::ResourceGroupManager, Ogre::Root, Ogre::SceneManagerEnumerator, Ogre::ScriptCompilerManager, Ogre::ShadowTextureManager, Ogre::SkeletonManager, Ogre::TextureManager, Ogre::RTShader::ShaderGenerator, Ogre::RTShader::ProgramManager, Ogre::RTShader::ProgramWriterManager, and Ogre::TerrainGlobalOptions.
Definition at line 92 of file OgreSingleton.h.
Singleton& Ogre::Singleton< T >::operator= | ( | const Singleton< T > & | ) | [private] |
Private operator= .
This is a forbidden operation.
T* Ogre::Singleton< T >::msSingleton [static, protected] |
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:40:26 2012