MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Implements a class-level locking scheme. More...
#include <mdsLock.h>
Classes | |
struct | CCreator |
struct | CDestroyer |
class | CLock |
Object of this class ensures mutual access, if created at the beginning of some method of the class T. More... | |
Static Public Member Functions | |
static void | lock () |
Locks the object. | |
static void | unlock () |
Locks the object. | |
Friends | |
class | CLock |
Returns reference to the critical section. |
Implements a class-level locking scheme.
static void mds::base::CLockableClass< T >::lock | ( | ) | [static] |
Locks the object.
static void mds::base::CLockableClass< T >::unlock | ( | ) | [static] |
Locks the object.
friend class CLock [friend] |
Returns reference to the critical section.