libassa
3.5.1
|
#include <Singleton.h>
Static Public Member Functions | |
static T * | get_instance () |
Return an instance of templated class T. More... | |
Protected Member Functions | |
Singleton () | |
Protected Constructor. More... | |
virtual | ~Singleton () |
Virtual Destructor. More... | |
Static Private Attributes | |
static T * | m_instance |
Pointer to the object T instance. More... | |
static Destroyer< T > | m_destroyer |
Destroyer that owns object T. More... | |
Friends | |
class | Destroyer< T > |
Definition at line 42 of file Singleton.h.
|
inlineprotected |
|
inlineprotectedvirtual |
|
inlinestatic |
Return an instance of templated class T.
Definition at line 47 of file Singleton.h.
References ASSA::Singleton< T >::m_destroyer, and ASSA::Singleton< T >::m_instance.
|
friend |
Definition at line 57 of file Singleton.h.
|
staticprivate |
Destroyer that owns object T.
Definition at line 69 of file Singleton.h.
Referenced by ASSA::Singleton< T >::get_instance().
|
staticprivate |
Pointer to the object T instance.
Definition at line 66 of file Singleton.h.
Referenced by ASSA::Singleton< T >::get_instance().