This is a convenience base class intended to be used with classes that need to be singletons. More...
#include <singleton.h>
Public Member Functions | |
~Singleton () | |
Class destructor. | |
Static Public Member Functions | |
static Type * | GetSingletonPtr () |
Fetches a pointer to the singleton. More... | |
static Boole | SingletonValid () |
Checks to see if the singleton pointer is valid. More... | |
Protected Member Functions | |
Singleton () | |
Class constructor. | |
template<> | |
Network::NetworkManager * | SingletonPtr |
template<> | |
Graphics::TextureManager * | SingletonPtr |
template<> | |
Graphics::MeshManager * | SingletonPtr |
template<> | |
Input::InputManager * | SingletonPtr |
template<> | |
Audio::AudioManager * | SingletonPtr |
template<> | |
Resource::ResourceManager * | SingletonPtr |
template<> | |
UI::UIManager * | SingletonPtr |
template<> | |
Physics::CollisionShapeManager * | SingletonPtr |
template<> | |
Graphics::GraphicsManager * | SingletonPtr |
template<> | |
Entresol * | SingletonPtr |
template<> | |
EventManager * | SingletonPtr |
Static Protected Attributes | |
static Type * | SingletonPtr |
The one and only pointer to the single object. More... | |
This is a convenience base class intended to be used with classes that need to be singletons.
This is based on the Ogre Singleton class.
Definition at line 62 of file singleton.h.
|
inlinestatic |
Fetches a pointer to the singleton.
Definition at line 97 of file singleton.h.
|
inlinestatic |
Checks to see if the singleton pointer is valid.
Definition at line 110 of file singleton.h.
|
staticprotected |
The one and only pointer to the single object.
the base class is
Definition at line 72 of file singleton.h.