MyGUI: MyGUI::Singleton< T > Class Template Reference

MyGUI 3.2.2

Public Types | Public Member Functions | Static Public Member Functions
MyGUI::Singleton< T > Class Template Reference

`#include <MyGUI_Singleton.h>`

Inheritance diagram for MyGUI::Singleton< T >:
[legend]

## Public Types
typedef Singleton< T > | Base

## Public Member Functions
| Singleton ()
virtual | ~Singleton ()

## Static Public Member Functions
static T & | getInstance ()
static T * | getInstancePtr ()
static const char * | getClassTypeName ()

## Detailed Description

### template<class T>
class MyGUI::Singleton< T >

Definition at line 20 of file MyGUI_Singleton.h.

## Member Typedef Documentation

## ◆ Base

template<class T>

typedef Singleton<T> MyGUI::Singleton< T >::Base

Definition at line 24 of file MyGUI_Singleton.h.

## Constructor & Destructor Documentation

## ◆ Singleton()

template<class T>

MyGUI::Singleton< T >::Singleton | ( |  | ) |
| inline

Definition at line 26 of file MyGUI_Singleton.h.

## ◆ ~Singleton()

template<class T>

virtual MyGUI::Singleton< T >::~Singleton | ( |  | ) |
| inlinevirtual

Definition at line 32 of file MyGUI_Singleton.h.

## Member Function Documentation

## ◆ getClassTypeName()

template<class T>

static const char* MyGUI::Singleton< T >::getClassTypeName | ( |  | ) |
| inlinestatic

Definition at line 49 of file MyGUI_Singleton.h.

## ◆ getInstance()

template<class T>

static T& MyGUI::Singleton< T >::getInstance | ( |  | ) |
| inlinestatic

Definition at line 38 of file MyGUI_Singleton.h.

## ◆ getInstancePtr()

template<class T>

static T* MyGUI::Singleton< T >::getInstancePtr | ( |  | ) |
| inlinestatic

Definition at line 44 of file MyGUI_Singleton.h.

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

- MyGUI_Singleton.h