Public Member Functions | |
~Singleton () | |
Static Public Member Functions | |
static Singleton * | GetInstance () |
Public Attributes | |
int | a |
Private Member Functions | |
Singleton (int _a) | |
Singleton (const Singleton &) | |
Singleton & | operator= (const Singleton &other) |
Static Private Attributes | |
static Mutex | mutex |
Definition at line 21 of file Singleton.cpp.
Singleton::~Singleton | ( | ) | [inline] |
Definition at line 25 of file Singleton.cpp.
Singleton::Singleton | ( | int | _a | ) | [inline, private] |
Definition at line 28 of file Singleton.cpp.
Singleton::Singleton | ( | const Singleton & | ) | [private] |
Singleton * Singleton::GetInstance | ( | ) | [static] |
Definition at line 40 of file Singleton.cpp.
References mutex.
Referenced by main().
int Singleton::a |
Mutex Singleton::mutex [static, private] |