37 #include "dcmtk/config/osconfig.h"
38 #include "dcmtk/ofstd/ofthread.h"
68 void set(
const T& arg)
OFGlobal()
unimplemented private default constructor
void set(const T &arg)
assigns new value to this object.
const OFGlobal< T > & operator=(const OFGlobal< T > &arg)
unimplemented private assignment operator
void xget(T &arg)
gets the value of this object.
provides an operating system independent abstraction for mutexes (mutual exclusion locks)...
OFGlobal(const T &arg)
constructor.
T val
value of this object
virtual ~OFGlobal()
destructor.
Template class which allows to declare global objects that are protected by a Mutex if used in multi-...