14#ifndef __SSINGLETON2__H__
15#define __SSINGLETON2__H__
21#define SINGLETON2_TYPE(x) \
23 friend class SApplication; \
24 static SingletonType GetType() \
62 return (*getObjPtr());
void * GetInnerSingleton(SingletonType nType) OVERRIDE
Get an inner singleton.
static T * getSingletonPtr(void)
Gets the pointer to the singleton instance.
SSingleton2(void)
Constructor for SSingleton2.
static T & getSingleton(void)
Gets the singleton instance.
virtual ~SSingleton2(void)
Destructor for SSingleton2.
static SApplication * getSingletonPtr(void)