Public Member Functions | |
OFGlobal (const T &arg) | |
constructor. | |
virtual | ~OFGlobal () |
destructor. | |
void | set (const T &arg) |
assigns new value to this object. | |
void | xget (T &arg) |
gets the value of this object. | |
T | get () |
returns the value of this object. | |
Private Member Functions | |
OFGlobal () | |
unimplemented private default constructor | |
OFGlobal (const OFGlobal< T > &arg) | |
unimplemented private copy constructor | |
const OFGlobal< T > & | operator= (const OFGlobal< T > &arg) |
unimplemented private assignment operator | |
Private Attributes | |
T | val |
value of this object |
Must be compiled with -D_REENTRANT for multi-thread-operation. Template class T must have copy constructor and assignment operator.
Definition at line 49 of file ofglobal.h.
|
constructor.
Definition at line 56 of file ofglobal.h. |
|
returns the value of this object. If compiled for multi-thread operation, access to the value of the object is protected by a Mutex. The result is returned by value, not by reference.
Definition at line 103 of file ofglobal.h. Referenced by DicomImageClass::checkDebugLevel(), and DicomImageClass::getDebugLevel(). |
|
assigns new value to this object. If compiled for multi-thread operation, access to the value of the object is protected by a Mutex.
Definition at line 72 of file ofglobal.h. Referenced by DicomImageClass::setDebugLevel(). |
|
gets the value of this object. If compiled for multi-thread operation, access to the value of the object is protected by a Mutex.
Definition at line 87 of file ofglobal.h. |