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

MyGUI 3.4.2

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files
- Examples

- Data Structures
- Data Structure Index
- Class Hierarchy
- Data Fields

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

`#include <MyGUI_Singleton.h>`

## 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.

## Constructor & Destructor Documentation

## ◆ Singleton()

template<class T >

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

Definition at line 30 of file MyGUI_Singleton.h.

## ◆ ~Singleton()

template<class T >

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

Definition at line 36 of file MyGUI_Singleton.h.

## Member Function Documentation

## ◆ getClassTypeName()

template<class T >

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

Definition at line 54 of file MyGUI_Singleton.h.

## ◆ getInstance()

template<class T >

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

Definition at line 43 of file MyGUI_Singleton.h.

## ◆ getInstancePtr()

template<class T >

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

Definition at line 49 of file MyGUI_Singleton.h.

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

- MyGUI_Singleton.h