MyGUI 3.4.1
Data Structures | Namespaces | Macros
MyGUI_Singleton.h File Reference
#include "MyGUI_Diagnostic.h"

Go to the source code of this file.

Data Structures

class  MyGUI::Singleton< T >
 
class  MyGUI::SingletonHolder< T >
 

Namespaces

namespace  MyGUI
 

Macros

#define MYGUI_SINGLETON_DECLARATION(ClassName)
 
#define MYGUI_SINGLETON_DEFINITION(ClassName)
 

Macro Definition Documentation

◆ MYGUI_SINGLETON_DECLARATION

#define MYGUI_SINGLETON_DECLARATION (   ClassName)
Value:
private: \
MyGUI::SingletonHolder<ClassName> mSingletonHolder; \
void initialiseSingleton(); \
void shutdownSingleton(); \
\
public: \
static ClassName& getInstance(); \
static ClassName* getInstancePtr(); \
static const char* getClassTypeName()

Definition at line 111 of file MyGUI_Singleton.h.

◆ MYGUI_SINGLETON_DEFINITION

#define MYGUI_SINGLETON_DEFINITION (   ClassName)

Definition at line 123 of file MyGUI_Singleton.h.