GameEngine::Singleton< T > Class Template Reference

#include <Singleton.h>

Collaboration diagram for GameEngine::Singleton< T >:

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Definition at line 11 of file Singleton.h.

Public Member Functions

 Singleton (void)
 ~Singleton (void)

Static Public Member Functions

static T & getSingleton (void)
static T * getSingletonPtr (void)

Static Private Attributes

static T * ms_Singleton = 0


Constructor & Destructor Documentation

template<typename T>
GameEngine::Singleton< T >::Singleton ( void   )  [inline]

Definition at line 17 of file Singleton.h.

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

Definition at line 22 of file Singleton.h.


Member Function Documentation

template<typename T>
static T& GameEngine::Singleton< T >::getSingleton ( void   )  [inline, static]

Definition at line 24 of file Singleton.h.

template<typename T>
static T* GameEngine::Singleton< T >::getSingletonPtr ( void   )  [inline, static]

Definition at line 25 of file Singleton.h.


Member Data Documentation

template<typename T>
T * GameEngine::Singleton< T >::ms_Singleton = 0 [inline, static, private]

Definition at line 14 of file Singleton.h.


The documentation for this class was generated from the following file:
Generated on Thu Apr 19 09:49:09 2007 for GameEngine by  doxygen 1.5.2