TuttleOFX  1
TuttleOFX/libraries/tuttle/src/tuttle/common/patterns/StaticSingleton.hpp File Reference

Go to the source code of this file.

Data Structures

class  StaticSingleton< T >
 StaticSingleton<ClassStaticSingleton> Can transform a class into static Singleton (by inheriting this class) More...

Defines

#define MAKE_StaticSingleton(Class)
 macro to implement StaticSingleton. Use it in derived class declaration

Define Documentation

#define MAKE_StaticSingleton (   Class)
Value:
public: \
                friend class StaticSingleton < Class >; \
        private: \
                Class() {} \
                ~Class() {}

macro to implement StaticSingleton. Use it in derived class declaration

Definition at line 46 of file StaticSingleton.hpp.