Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

ps
Class Singleton

   in Singleton.h
Direct Known Subclasses:
CMaterialManager, CTextureManager, CGUI, CSessionManager, CBuildingPlacer, CConfigDB, CGameAttributes, CMouseoverEntities, CProfileManager, CProfileViewer, CSelectedEntities, CRenderer, CGameEvents, ScriptingHost, CEntityTemplateCollection, CFormationCollection, CFormationManager, CPathfindEngine, CScheduler, CTechnologyCollection, CTriggerManager

template < typename T > class Singleton

========================================================================= File : Singleton.h Project : 0 A.D. Description : template base class for Singletons =========================================================================


Field Summary
private static T* ms_singleton
          
 
Constructor Summary
Singleton()
          
~Singleton()
          
 
Method Summary
 static T& GetSingleton()
          
 static T* GetSingletonPtr()
          
 static bool IsInitialised()
          
 

Field Detail

ms_singleton

private static T* ms_singleton;


Constructor Detail

Singleton

public Singleton();

~Singleton

public ~Singleton();


Method Detail

GetSingleton

public static T& GetSingleton();

GetSingletonPtr

public static T* GetSingletonPtr();

IsInitialised

public static bool IsInitialised();

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:14
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD