ITK
4.13.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 () |
bool | TryLock () |
void | Unlock () |
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 79 of file itkMutexLock.h.
|
inline |
Definition at line 84 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 | ( | ) |
Lock the MutexLock.
Referenced by itk::MutexLock::Lock().
|
static |
Methods for creation and destruction through the object factory.
bool itk::SimpleMutexLock::TryLock | ( | ) |
Non-blocking Lock access.
Referenced by itk::MutexLock::TryLock().
void itk::SimpleMutexLock::Unlock | ( | ) |
Unlock the MutexLock.
Referenced by itk::MutexLock::Unlock().
|
protected |
Definition at line 90 of file itkMutexLock.h.