Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

CSingleton< T > Class Template Reference

Singleton class. More...

#include <Singleton.h>

List of all members.

Static Public Member Functions

T & GetSingleton ()
T * GetSingletonPtr ()

Detailed Description

template<typename T>
class CSingleton< T >

Singleton class.

The derivatives of this class can be accessed anywhere (hence, singleton pattern)

Definition at line 19 of file Singleton.h.

Member Function Documentation

template<typename T>
T& CSingleton< T >::GetSingleton  )  [inline, static]

Aquire singleton (reference)Definition at line 39 of file Singleton.h.

template<typename T>
T* CSingleton< T >::GetSingletonPtr  )  [inline, static]

Aquire singleton (pointer)Definition at line 48 of file Singleton.h.

The documentation for this class was generated from the following file:
Generated on Sun Jul 17 21:34:30 2005 for OpenGL GUI by doxygen 1.3.8