Skyward boardcore
|
#include <Singleton.h>
Public Member Functions | |
Singleton (const Singleton &)=delete | |
Singleton & | operator= (const Singleton &)=delete |
Static Public Member Functions | |
static T & | getInstance () |
Protected Member Functions | |
Singleton () | |
WARNING: Deriving from this class is not enough to make a singleton, you also have to declare the constructor of your class private!
Look here for more info on Singletons: https://stackoverflow.com/questions/1008019/c-singleton-design-pattern
Definition at line 46 of file Singleton.h.
|
inlineprotected |
Definition at line 59 of file Singleton.h.
|
delete |
|
inlinestatic |
Definition at line 52 of file Singleton.h.
|
delete |