
Lifetime policy
Singleton classes created with this policy are automatically created on first access and deleted on system shutdown. Note that no shudown order is defined. The OrderedAutomatic policy is provided for cases where singletons need to be shut down is a well defined order.
Static Public Member Functions | |
| static void | destroyInstance () |
| may be used to manually destroy the singleton instance | |
Static Protected Member Functions | |
| static void | destroyedError () |
| static void | initInstance () |
Classes | |
| struct | Mgr |
|
|||||||||
|
|
|
|||||||||
|
may be used to manually destroy the singleton instance If this function is not called, the instance is destroyed automatically during shutdown. |
|
|||||||||
|
|
1.4.3