FIFE  6e1afdbeda11afe9ac53e6023a4be96ef88f1dc6
FIFE::StaticSingleton< T > Class Template Reference

The "classic" Singleton. More...

#include <singleton.h>

+ Collaboration diagram for FIFE::StaticSingleton< T >:

Static Public Member Functions

static T * instance ()
 

Protected Member Functions

 StaticSingleton ()
 
virtual ~StaticSingleton ()
 

Private Member Functions

 StaticSingleton (const StaticSingleton< T > &)
 
StaticSingleton< T > & operator= (const StaticSingleton< T > &)
 

Detailed Description

template<typename T>
class FIFE::StaticSingleton< T >

The "classic" Singleton.

See also
DynamicSingleton

Definition at line 44 of file singleton.h.

Constructor & Destructor Documentation

template<typename T >
FIFE::StaticSingleton< T >::StaticSingleton ( )
inlineprotected

Definition at line 54 of file singleton.h.

template<typename T >
virtual FIFE::StaticSingleton< T >::~StaticSingleton ( )
inlineprotectedvirtual

Definition at line 57 of file singleton.h.

template<typename T >
FIFE::StaticSingleton< T >::StaticSingleton ( const StaticSingleton< T > &  )
inlineprivate

Definition at line 61 of file singleton.h.

Member Function Documentation

template<typename T >
static T* FIFE::StaticSingleton< T >::instance ( )
inlinestatic

Definition at line 47 of file singleton.h.

template<typename T >
StaticSingleton<T>& FIFE::StaticSingleton< T >::operator= ( const StaticSingleton< T > &  )
inlineprivate

Definition at line 62 of file singleton.h.


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