SuperTuxKart
Static Public Member Functions | Protected Member Functions | Static Private Attributes | List of all members
Singleton< T > Class Template Reference
Inheritance diagram for Singleton< T >:
Inheritance graph
[legend]

Static Public Member Functions

static T * getInstance ()
 Used to get the instance.
 
static void kill ()
 Used to kill the singleton, if needed.
 

Protected Member Functions

 Singleton ()
 Constructor.
 
virtual ~Singleton ()
 Destructor.
 

Static Private Attributes

static T * m_singleton = NULL
 

The documentation for this class was generated from the following file: