BWAPI
Static Public Member Functions | Protected Member Functions | Static Protected Attributes
CSingleton< T > Class Template Reference

#include <CSingleton.h>

Collaboration diagram for CSingleton< T >:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static T & Instance ()
static void Destroy ()

Protected Member Functions

 CSingleton ()
 ~CSingleton ()

Static Protected Attributes

static T * Inst = NULL

template<class T>
class CSingleton< T >


Constructor & Destructor Documentation

template<class T>
CSingleton< T >::CSingleton ( ) [inline, protected]
template<class T>
CSingleton< T >::~CSingleton ( ) [inline, protected]

Member Function Documentation

template<class T>
static void CSingleton< T >::Destroy ( ) [inline, static]
template<class T>
static T& CSingleton< T >::Instance ( ) [inline, static]

Here is the caller graph for this function:


Member Data Documentation

template<class T>
T * CSingleton< T >::Inst = NULL [static, protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines