A class for creating static singletons.
More...
#include <Singleton.hpp>
|
| | Singleton (const bool AInit) noexcept |
| | Optionally initialize the singleton with the current object. More...
|
| |
|
| ~Singleton () |
| | Destroy a singleton and nullify it's pointer.
|
| |
template<class AParent>
class CYB::API::Singleton< AParent >
A class for creating static singletons.
- Template Parameters
-
| AParent | The class that will be inheriting from this one to create a singleton |
Definition at line 10 of file Singleton.hpp.
Optionally initialize the singleton with the current object.
- Parameters
-
| AInit | If set to true, FSingleton will be set to this |
- Thread Safety
- Access to this function must be synchronized per template instantiation
The documentation for this class was generated from the following file: