ANNA Suite
2020b
Multipurpose development suite for Telco applications
|
#include <Singleton.hpp>
Static Public Member Functions | |
static T & | instantiate () |
static void | release () |
Singleton pattern. Limits the use to a unique class instance.
Default constructor for T must be private in order to avoid external instantiation. Following, an example using class A:
On A class header file, we will have:
To use A class:
|
inlinestatic |
|
inlinestatic |