LDK::SingletonStorage< T > Class Template Reference
[Patterns]

A "normal" singleton storage class. More...

#include <LDK/Singletons.h>


Public Types

typedef T Type
typedef T * PointerType
typedef T & ReferenceType

Static Public Member Functions

static void initialise ()
static ReferenceType instance ()

Static Protected Member Functions

static void destroy ()

Static Protected Attributes

static bool mInitialised
static PointerType mInstance


Detailed Description

template<class T>
class LDK::SingletonStorage< T >

Providing the encapsulated type is itself threadsafe,this singleton will not cause any threading issues.

Definition at line 105 of file Singletons.h.


The documentation for this class was generated from the following file:
Generated on Fri Aug 17 18:32:27 2007 for LDK by  doxygen 1.5.1