CHROMA
Static Public Member Functions | Static Private Attributes | List of all members
Chroma::PhoenixSingleton< T > Class Template Reference

#include <singleton.h>

Static Public Member Functions

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

Static Private Attributes

static bool destroyedOnce_ = false
 

Detailed Description

template<class T>
class Chroma::PhoenixSingleton< T >

Definition at line 292 of file singleton.h.

Member Function Documentation

◆ OnDeadReference()

template<class T >
static void Chroma::PhoenixSingleton< T >::OnDeadReference ( )
inlinestatic

Definition at line 303 of file singleton.h.

References Chroma::PhoenixSingleton< T >::destroyedOnce_.

◆ ScheduleDestruction()

template<class T >
static void Chroma::PhoenixSingleton< T >::ScheduleDestruction ( T ,
void(*)()  pFun 
)
inlinestatic

Definition at line 295 of file singleton.h.

References Chroma::PhoenixSingleton< T >::destroyedOnce_.

Member Data Documentation

◆ destroyedOnce_

template<class T >
bool Chroma::PhoenixSingleton< T >::destroyedOnce_ = false
staticprivate

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