Virgil IoT KIT
|
Singleton implementation. More...
#include <VSQSingleton.h>
Static Public Member Functions | |
static T & | instance () |
Get static instance. More... | |
Singleton implementation.
You can use D parameter as derived from T
T | Base class for D |
D | Class to be singleton |
|
inlinestatic |
Get static instance.
Creates once D class instance and returns its base class T