Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cSingleton.h File Reference
#include "cNonCopyable.h"
#include "cThreadLock.h"
#include "cUnitTestDecl.h"
#include "cTypeInfo.h"
#include "cHeapObject.h"
#include "cObject.h"
#include "cDebugAssert.h"

Go to the source code of this file.

Classes

class  Gray::cSingletonStatic< TYPE >
 
class  Gray::cSingletonRegister
 
class  Gray::cSingleton< TYPE >
 

Namespaces

 Gray
 < The main namespace for all Core functions.
 

Detailed Description

A singleton is a type of class of which only one single instance may exist. This is commonly used for management classes used to control system-wide resources.