libpsynth 0.2.1
Static Public Member Functions
psynth::base::lifetime_phoenix< T > Class Template Reference

Singleton lifetime policy that re-creates the singleton if it has already been destroyed. More...

#include <singleton.hpp>

List of all members.

Static Public Member Functions

static void schedule (T *, destroy_func_t pFun)
 Scheduler funcion.
static void on_dead_reference ()
 Error handler function.

Detailed Description

template<class T>
class psynth::base::lifetime_phoenix< T >

Singleton lifetime policy that re-creates the singleton if it has already been destroyed.

Todo:
Build autotool macro for PSYNTH_ATEXIT_FIXED

Member Function Documentation

template<class T >
static void psynth::base::lifetime_phoenix< T >::on_dead_reference ( ) [inline, static]

Error handler function.

template<class T >
static void psynth::base::lifetime_phoenix< T >::schedule ( T *  ,
destroy_func_t  pFun 
) [inline, static]

Scheduler funcion.


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