ITK
4.3.0
Insight Segmentation and Registration Toolkit
|
#include <itkMutexLock.h>
Simple mutual exclusion locking class.
SimpleMutexLock allows the locking of variables which are accessed through different threads. This header file also defines SimpleMutexLock which is not a subclass of Object.
Definition at line 48 of file itkMutexLock.h.
Public Types | |
typedef SimpleMutexLock | Self |
Public Member Functions | |
void | Delete () |
MutexType & | GetMutexLock () |
MutexType | GetMutexLock () const |
virtual const char * | GetNameOfClass () |
void | Lock (void) |
void | Unlock (void) |
SimpleMutexLock () | |
virtual | ~SimpleMutexLock () |
Static Public Member Functions | |
static SimpleMutexLock * | New () |
Protected Attributes | |
MutexType | m_MutexLock |
Standard class typedefs.
Definition at line 52 of file itkMutexLock.h.
itk::SimpleMutexLock::SimpleMutexLock | ( | ) |
Constructor and destructor left public purposely.
|
virtual |
Constructor and destructor left public purposely.
|
inline |
Definition at line 62 of file itkMutexLock.h.
|
inline |
Access the MutexType member variable from outside this class
Definition at line 74 of file itkMutexLock.h.
|
inline |
Definition at line 79 of file itkMutexLock.h.
|
inlinevirtual |
Used for debugging and other run-time purposes.
Definition at line 65 of file itkMutexLock.h.
void itk::SimpleMutexLock::Lock | ( | void | ) |
Lock the MutexLock.
Referenced by itk::MutexLock::Lock().
|
static |
Methods for creation and destruction through the object factory.
void itk::SimpleMutexLock::Unlock | ( | void | ) |
Unlock the MutexLock.
Referenced by itk::MutexLock::Unlock().
|
protected |
Definition at line 85 of file itkMutexLock.h.