Library of Assembled Shared Sources
|
base class of all singletons. More...
#include <singleton_impl.h>
Public Member Functions | |
SingletonBase () | |
constructor. | |
Protected Member Functions | |
void | subscribeInstance (int iDestructionPriority) |
Subscribe to the singleton guard. | |
base class of all singletons.
Definition at line 60 of file singleton_impl.h.
lass::util::impl::SingletonBase::SingletonBase | ( | ) |
constructor.
Definition at line 180 of file singleton_impl.cpp.
|
protected |
Subscribe to the singleton guard.
Do this only once for each singleton, and in fact, don't do it yourself at all since Singleton<> already does it :)
Definition at line 207 of file singleton_impl.cpp.
References lass::util::destructionPriorityNever.
Referenced by lass::util::Singleton< T, destructPriority >::instance().