Singleton< T > Class Template Reference

#include <Singleton.h>

Inherited by Chat, ConfigOptions, Display, Input, and XClone.

Inheritance diagram for Singleton< T >:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<class T>
class Singleton< T >

Definition at line 5 of file Singleton.h.

Static Public Member Functions

static T & instance ()

Protected Member Functions

 Singleton ()

Private Member Functions

 Singleton (Singleton &copy)


Constructor & Destructor Documentation

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

Definition at line 15 of file Singleton.h.

template<class T>
Singleton< T >::Singleton ( Singleton< T > &  copy  )  [private]


Member Function Documentation

template<class T>
static T& Singleton< T >::instance (  )  [inline, static]

Definition at line 8 of file Singleton.h.

Referenced by XClone::deinit(), Wall::draw(), Unit::draw(), Terrain::draw(), Chat::draw(), Map::drawMinimap(), Unit::drawMovePath(), MainGameState::focusOnUnit(), MapTile::highlight(), MapTile::highlightMoveable(), XClone::init(), Display::init(), Singleton< Display >::instance(), main(), Map::Map(), MapTile::MapTile(), Input::processSDLEvent(), Camera::setBorders(), Terrain::Terrain(), Unit::Unit(), XClone::update(), MainGameState::update(), Camera::update(), Map::updateMouseOverTile(), and Wall::Wall().

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
Generated on Fri Sep 22 06:00:27 2006 for X-CLONE by  doxygen 1.4.7