TSSingletonT< T > Class Template Reference

Template class for 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

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

Detailed Description

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

Template class for thread-safe singleton implementations.


Constructor & Destructor Documentation

TSSingletonT (  )  [inline, protected]

Constructor. Protected to prohibit use except by subclasses.

virtual ~TSSingletonT (  )  [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