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

A "thread-local singleton" storage policy. 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 (void *obj)

Static Protected Attributes

static bool mInitialised
static TLSKey mKey


Detailed Description

template<class T>
class LDK::TLSSingletonStorage< T >

The instances this class encapsulates are created the first time the instance method is called by the thread using the singleton.

Definition at line 160 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