TuttleOFX
1
|
Go to the source code of this file.
Data Structures | |
class | Singleton< T > |
Singleton<ClassSingleton> Can transform a class into Singleton (by inheriting this class) More... | |
Defines | |
#define | MAKE_SINGLETON(Class) |
macro to implement singleton. Use it in derived class declaration | |
#define | MAKE_SINGLETON_WITHCONSTRUCTORS(Class) |
macro to implement singleton. Use it in derived class declaration |
#define MAKE_SINGLETON | ( | Class | ) |
public: \ friend class Singleton < Class >; \ private: \ Class() {} \ ~Class() {}
macro to implement singleton. Use it in derived class declaration
Definition at line 57 of file Singleton.hpp.
#define MAKE_SINGLETON_WITHCONSTRUCTORS | ( | Class | ) |
public: \ friend class Singleton < Class >; \ private: \ Class(); \ ~Class();
macro to implement singleton. Use it in derived class declaration
Definition at line 65 of file Singleton.hpp.