![]() |
Orfeo Toolbox
3.16
|
Simple mutual exclusion locking class. More...
#include <itkMutexLock.h>
Public Types | |
| typedef SimpleMutexLock | Self |
Public Member Functions | |
| SimpleMutexLock () | |
| virtual | ~SimpleMutexLock () |
| void | Delete () |
| MutexType & | GetMutexLock () |
| const MutexType | GetMutexLock () const |
| virtual const char * | GetNameOfClass () |
| void | Lock (void) |
| void | Unlock (void) |
Static Public Member Functions | |
| static SimpleMutexLock * | New () |
Protected Attributes | |
| MutexType | m_MutexLock |
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 70 of file itkMutexLock.h.
Standard class typedefs.
Definition at line 74 of file itkMutexLock.h.
| itk::SimpleMutexLock::SimpleMutexLock | ( | ) |
Constructor and destructor left public purposely.
Definition at line 33 of file itkMutexLock.cxx.
References m_MutexLock, and NULL.
Referenced by New().
|
virtual |
Definition at line 54 of file itkMutexLock.cxx.
References m_MutexLock.
|
inline |
Definition at line 82 of file itkMutexLock.h.
|
inline |
Access the MutexType member variable from outside this class
Definition at line 94 of file itkMutexLock.h.
Referenced by itk::ConditionVariable::Wait().
|
inline |
Definition at line 98 of file itkMutexLock.h.
|
inlinevirtual |
Used for debugging and other run-time purposes.
Definition at line 85 of file itkMutexLock.h.
| void itk::SimpleMutexLock::Lock | ( | void | ) |
Lock the MutexLock.
Definition at line 66 of file itkMutexLock.cxx.
References m_MutexLock.
Referenced by itk::MutexLock::Lock(), and itk::Barrier::Wait().
|
static |
Methods for creation and destruction through the object factory.
Definition at line 27 of file itkMutexLock.cxx.
References SimpleMutexLock().
| void itk::SimpleMutexLock::Unlock | ( | void | ) |
Unlock the MutexLock.
Definition at line 82 of file itkMutexLock.cxx.
References m_MutexLock.
Referenced by itk::MutexLock::Unlock(), and itk::Barrier::Wait().
|
protected |
Definition at line 104 of file itkMutexLock.h.
Referenced by Lock(), SimpleMutexLock(), Unlock(), and ~SimpleMutexLock().