Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes
core::Singleton< T > Class Template Reference

Singleton template. More...

#include <Singleton.h>

List of all members.

Public Member Functions

 Singleton ()
 ~Singleton ()

Static Public Member Functions

static T * getInstance ()
 Get instance.

Protected Member Functions

template<>
engine::EngineManager * ms_Singleton
template<>
sound::SoundManager * ms_Singleton
template<>
script::ScriptManager * ms_Singleton
template<>
scene::SceneManager * ms_Singleton
template<>
resource::ResourceManager * ms_Singleton
template<>
render::RenderManager * ms_Singleton
template<>
platform::PlatformManager * ms_Singleton
template<>
physics::PhysicsManager * ms_Singleton
template<>
input::InputManager * ms_Singleton
template<>
engine::PluginManager * ms_Singleton
template<>
engine::LogManager * ms_Singleton
template<>
engine::EngineSettings * ms_Singleton

Static Protected Attributes

static T * ms_Singleton

Detailed Description

template<typename T>
class core::Singleton< T >

Singleton template.


Constructor & Destructor Documentation

template<typename T>
core::Singleton< T >::Singleton ( ) [inline]
template<typename T>
core::Singleton< T >::~Singleton ( ) [inline]

Member Function Documentation

template<typename T>
static T* core::Singleton< T >::getInstance ( ) [inline, static]

Member Data Documentation

template<typename T>
T* core::Singleton< T >::ms_Singleton [static, protected]

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

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:07 by Doxygen (1.7.4)