m2etis
0.4
|
Derive from this templated class to make a class a singleton. Refer to the Singleton Design Pattern if it is not clear what a singleton is. Declare the ctor private. More...
#include <Singleton.h>
Static Public Member Functions | |
static T * | GetSingletonPtr () |
static T & | GetSingleton () |
Protected Member Functions | |
Singleton () | |
virtual | ~Singleton () |
Static Protected Attributes | |
static T * | _ptrSingleton |
static boost::mutex | _objMutex |
Derive from this templated class to make a class a singleton. Refer to the Singleton Design Pattern if it is not clear what a singleton is. Declare the ctor private.
Definition at line 40 of file Singleton.h.
|
inlineprotected |
Definition at line 55 of file Singleton.h.
|
inlineprotectedvirtual |
Definition at line 56 of file Singleton.h.
|
inlinestatic |
Definition at line 48 of file Singleton.h.
|
inlinestatic |
Definition at line 42 of file Singleton.h.
|
staticprotected |
Definition at line 64 of file Singleton.h.
|
staticprotected |
Definition at line 63 of file Singleton.h.