Loki::LongevityLifetime::SingletonFixedLongevity< Longevity, T > Struct Template Reference
[LongevityLifetime]

#include <Singleton.h>

Inheritance diagram for Loki::LongevityLifetime::SingletonFixedLongevity< Longevity, T >:

[legend]
List of all members.

Public Member Functions

virtual ~SingletonFixedLongevity ()

Static Public Member Functions

static void ScheduleDestruction (T *pObj, atexit_pfn_t pFun)
static void OnDeadReference ()

Detailed Description

template<unsigned int Longevity, class T>
struct Loki::LongevityLifetime::SingletonFixedLongevity< Longevity, T >

Add your own lifetimes into the namespace 'LongevityLifetime' with your prefered lifetime by adding a struct like this:

template<class T> struct MyLifetime : SingletonFixedLongevity< MyLifetimeNumber ,T> {}

Definition at line 550 of file Singleton.h.


The documentation for this struct was generated from the following file:
Generated on Sun Feb 25 16:52:56 2007 for Loki by  doxygen 1.5.1-p1