Data Structures | |
struct | SingletonPtr< T > |
Utility class for creating and using a singleton. More... | |
Functions | |
static void | singleton_lock (void) |
Lock the singleton mutex. More... | |
static void | singleton_unlock (void) |
Unlock the singleton mutex. More... | |
|
static |
Lock the singleton mutex.
This function is typically used to provide exclusive access when initializing a global object.
Definition at line 47 of file SingletonPtr.h.
|
static |
Unlock the singleton mutex.
This function is typically used to provide exclusive access when initializing a global object.
Definition at line 64 of file SingletonPtr.h.