#include <Singleton.h>
Inheritance diagram for GUI::Singleton< T >:

Static Public Member Functions | |
| static T * | getInstance () |
| Return the single instance of class T. | |
Protected Member Functions | |
| Singleton () | |
| Constructor is protected for avoid new instance. | |
| Singleton (const Singleton &rhs) | |
| Copy-constructor is protected for avoid new instance. | |
| ~Singleton () | |
| Destructor is protected for avoid new instance. | |
| Singleton & | operator= (const Singleton &rhs) |
| Assignment operator is protected for avoid new instance. | |
Derived class must declare friend this class, because this class create the new instance and derived class must have private constructor and destructor.
| T | class that require single instance |
| static T* GUI::Singleton< T >::getInstance | ( | ) | [inline, static] |
Return the single instance of class T.
1.4.7