SingletonT< T > Class Template Reference

Template class for non thread-safe singleton implementations. More...

List of all members.

Static Public Member Functions

static void DestroyInstance ()
 Destroys the instance wrapped by this singleton.
static T * GetInstance ()
 Singleton accessor.

Protected Member Functions

 SingletonT ()
 Constructor. Protected to prohibit use except by subclasses.
virtual ~SingletonT ()
 Destructor. Protected to prohibit use except by subclasses.

Detailed Description

template<typename T>
class Simba::Support::SingletonT< T >

Template class for non thread-safe singleton implementations.

Not a thread-safe implementation.


Constructor & Destructor Documentation

SingletonT (  )  [inline, protected]

Constructor. Protected to prohibit use except by subclasses.

virtual ~SingletonT (  )  [inline, protected, virtual]

Destructor. Protected to prohibit use except by subclasses.


Member Function Documentation

static void DestroyInstance (  )  [inline, static]

Destroys the instance wrapped by this singleton.

static T* GetInstance (  )  [inline, static]

Singleton accessor.

Returns:
The one and only instance of the singleton. (NOT OWN)

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

Generated on Wed May 17 14:21:19 2017 for SimbaEngine 10.1.3.1011 by simba