GetFEM
5.4.3
|
singleton class. More...
#include <dal_singleton.h>
Static Public Member Functions | |
static T & | instance () |
Instance from the current thread. | |
static size_type | num_threads () |
number of threads this singleton is distributed on. | |
static size_type | this_thread () |
this thread number according to the threading policy of the singleton | |
singleton class.
usage:
the LEV template arguments allows one to choose the order of destruction of the singletons: lowest LEV will be destroyed first.
Definition at line 158 of file dal_singleton.h.