Kochol Game Engine  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
kge::Singleton< T > Class Template Reference

#include <Singleton.h>

Public Member Functions

 Singleton ()
 Constructor.
 ~Singleton ()
 Destructor.

Static Protected Attributes

static T * m_pSingleton

Detailed Description

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

The singleton class. Maybe singleton design pattern is not good any more And we need to delete singleton from engine soon.

Definition at line 22 of file Singleton.h.

Constructor & Destructor Documentation

template<typename T>
kge::Singleton< T >::Singleton ( )
inline

Constructor.

Definition at line 27 of file Singleton.h.

template<typename T>
kge::Singleton< T >::~Singleton ( )
inline

Destructor.

Definition at line 35 of file Singleton.h.

Member Data Documentation

template<typename T>
T* kge::Singleton< T >::m_pSingleton
staticprotected

Definition at line 44 of file Singleton.h.


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