Simple mutual exclusion locking class. More...
#include <itkMutexLock.h>
Public Types | |
typedef SimpleMutexLock | Self |
Public Member Functions | |
virtual const char * | GetNameOfClass () |
void | Lock (void) |
void | Unlock (void) |
SimpleMutexLock () | |
virtual | ~SimpleMutexLock () |
MutexType & | GetMutexLock () |
const MutexType | GetMutexLock () const |
Protected Attributes | |
MutexType | m_MutexLock |
| |
void | Delete () |
static SimpleMutexLock * | New () |
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.
virtual itk::SimpleMutexLock::~SimpleMutexLock | ( | ) | [virtual] |
Constructor and destructor left public purposely.
void itk::SimpleMutexLock::Delete | ( | ) | [inline] |
Methods for creation and destruction through the object factory.
Definition at line 83 of file itkMutexLock.h.
const MutexType itk::SimpleMutexLock::GetMutexLock | ( | ) | const [inline] |
Access the MutexType member variable from outside this class
Definition at line 100 of file itkMutexLock.h.
MutexType& itk::SimpleMutexLock::GetMutexLock | ( | ) | [inline] |
Access the MutexType member variable from outside this class
Definition at line 96 of file itkMutexLock.h.
virtual const char* itk::SimpleMutexLock::GetNameOfClass | ( | ) | [inline, virtual] |
Used for debugging and other run-time purposes.
Definition at line 87 of file itkMutexLock.h.
void itk::SimpleMutexLock::Lock | ( | void | ) |
Lock the MutexLock.
Referenced by itk::MutexLock::Lock().
static SimpleMutexLock* itk::SimpleMutexLock::New | ( | ) | [static] |
Methods for creation and destruction through the object factory.
void itk::SimpleMutexLock::Unlock | ( | void | ) |
Unlock the MutexLock.
Referenced by itk::MutexLock::Unlock().
MutexType itk::SimpleMutexLock::m_MutexLock [protected] |
Definition at line 107 of file itkMutexLock.h.