MIRA
|
Implementation of the InstantiationPolicy that is used by the Singleton template. More...
#include <utils/Singleton.h>
Public Types | |
typedef Base::Type | Type |
Static Public Member Functions | |
static Type & | instance () |
Static Protected Member Functions | |
static Type * | makeInstance () |
static void | destroyInstance (void) |
Implementation of the InstantiationPolicy that is used by the Singleton template.
This policy ensures lazy instantiation, i.e. the singleton object will be instantiated at the moment when the instance() method is called for the first time. If the instance() method is never called, the singleton will never be instantiated.
typedef Base::Type Type |
|
inlinestatic |
|
inlinestaticprotected |
|
inlinestaticprotected |