29 # if !defined( __SINGLETON__H__ )
30 # define __SINGLETON__H__
110 if ( ! PtrSingleton )
116 return &PtrSingleton->_Instance ;
122 return PtrSingleton ? true : false ;
151 std::list<DESTRUCTEUR_GENERIQUE_ *>::iterator k ;
154 if ( *k == PtrSingleton->_Instance )
160 delete PtrSingleton ;
161 PtrSingleton = NULL ;
Purpose
Definition: Utils_DESTRUCTEUR_GENERIQUE.hxx:97
static std::list< DESTRUCTEUR_GENERIQUE_ * > * Destructeurs
Definition: Utils_DESTRUCTEUR_GENERIQUE.hxx:66
Definition
Definition: Utils_SINGLETON.hxx:74
TYPE _Instance
Definition: Utils_SINGLETON.hxx:84
static TYPE * Instance(void)
Singleton dynamic creation using the default builder.
Definition: Utils_SINGLETON.hxx:108
static int Destruction(void)
destroys the Singleton before the end of the application process
Definition: Utils_SINGLETON.hxx:142
static SINGLETON_ * PtrSingleton
Definition: Utils_SINGLETON.hxx:85
~SINGLETON_()
Definition: Utils_SINGLETON.hxx:168
static bool IsAlreadyExisting(void)
returns True if the singleton is already existing
Definition: Utils_SINGLETON.hxx:120
SINGLETON_(void)
Definition: Utils_SINGLETON.hxx:128