# TSingleton< T > Class Template Reference

`#include <TSingleton.h>`

List of all members.

## Public Member Functions
| TSingleton ()
| ~TSingleton ()
## Static Public Member Functions
static T * | getSingleton ()
static void | deleteSingleton ()
## Static Protected Attributes
static T * | m_pInstance

## Detailed Description

### template<class T>
class TSingleton< T >

Definition at line 4 of file TSingleton.h.

## Constructor & Destructor Documentation

template<class T>

TSingleton< T >::TSingleton | ( |  | ) | `[inline]`

Definition at line 7 of file TSingleton.h.

template<class T>

TSingleton< T >::~TSingleton | ( |  | ) | `[inline]`

Definition at line 11 of file TSingleton.h.

## Member Function Documentation

template<class T>

static void TSingleton< T >::deleteSingleton | ( |  | ) | `[inline, static]`

Definition at line 22 of file TSingleton.h.

template<class T>

static T* TSingleton< T >::getSingleton | ( |  | ) | `[inline, static]`

Definition at line 15 of file TSingleton.h.

## Member Data Documentation

template<class T>

T* TSingleton< T >::m_pInstance`[static, protected]`

Definition at line 29 of file TSingleton.h.

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

- C:/Users/Public/AGS Final Folder/BFLETCHER D4010283/Source/Game/Source/TSingleton.h