TuttleOFX
1
|
StaticSingleton<ClassStaticSingleton> Can transform a class into static Singleton (by inheriting this class) More...
#include <StaticSingleton.hpp>
Static Public Member Functions | |
static T & | instance () |
return the unique instance of StaticSingleton<T> class | |
Protected Member Functions | |
StaticSingleton () | |
virtual | ~StaticSingleton ()=0 |
Private Member Functions | |
StaticSingleton (const StaticSingleton &) | |
StaticSingleton & | operator= (const StaticSingleton &) |
Static Private Attributes | |
static T | inst |
StaticSingleton<ClassStaticSingleton> Can transform a class into static Singleton (by inheriting this class)
Definition at line 15 of file StaticSingleton.hpp.
StaticSingleton< T >::StaticSingleton | ( | const StaticSingleton< T > & | ) | [inline, private] |
Definition at line 21 of file StaticSingleton.hpp.
StaticSingleton< T >::StaticSingleton | ( | ) | [inline, protected] |
Definition at line 25 of file StaticSingleton.hpp.
StaticSingleton< T >::~StaticSingleton | ( | ) | [protected, pure virtual] |
Definition at line 43 of file StaticSingleton.hpp.
static T& StaticSingleton< T >::instance | ( | ) | [inline, static] |
return the unique instance of StaticSingleton<T> class
Definition at line 33 of file StaticSingleton.hpp.
References StaticSingleton< T >::inst.
StaticSingleton& StaticSingleton< T >::operator= | ( | const StaticSingleton< T > & | ) | [inline, private] |
Definition at line 22 of file StaticSingleton.hpp.
T StaticSingleton< T >::inst [static, private] |
Definition at line 18 of file StaticSingleton.hpp.
Referenced by StaticSingleton< T >::instance().