MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Classes | Static Public Member Functions | Friends
mds::base::CLockableClass< T > Class Template Reference

Implements a class-level locking scheme. More...

#include <mdsLock.h>

Inheritance diagram for mds::base::CLockableClass< T >:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

template<class T>
class mds::base::CLockableClass< T >

Implements a class-level locking scheme.


Member Function Documentation

template<class T>
static void mds::base::CLockableClass< T >::lock ( ) [static]

Locks the object.

template<class T>
static void mds::base::CLockableClass< T >::unlock ( ) [static]

Locks the object.


Friends And Related Function Documentation

template<class T>
friend class CLock [friend]

Returns reference to the critical section.


The documentation for this class was generated from the following file: