ITK
4.6.0
Insight Segmentation and Registration Toolkit
|
#include <itkSimpleFastMutexLock.h>
Critical section locking class that can be allocated on the stack.
SimpleFastMutexLock is used by FastMutexLock to perform mutex locking. SimpleFastMutexLock is not a subclass of Object and is designed to be allocated on the stack.
Definition at line 49 of file itkSimpleFastMutexLock.h.
Public Types | |
typedef SimpleFastMutexLock | Self |
Public Member Functions | |
void | Lock () const |
void | Unlock () const |
SimpleFastMutexLock () | |
~SimpleFastMutexLock () | |
Protected Attributes | |
FastMutexType | m_FastMutexLock |
Standard class typedefs.
Definition at line 53 of file itkSimpleFastMutexLock.h.
itk::SimpleFastMutexLock::SimpleFastMutexLock | ( | ) |
Constructor and destructor left public purposely because of stack allocation.
itk::SimpleFastMutexLock::~SimpleFastMutexLock | ( | ) |
Constructor and destructor left public purposely because of stack allocation.
void itk::SimpleFastMutexLock::Lock | ( | ) | const |
Lock access.
Referenced by itk::FEMFactoryBase::GetFactory(), and itk::FastMutexLock::Lock().
void itk::SimpleFastMutexLock::Unlock | ( | ) | const |
Unlock access.
Referenced by itk::FEMFactoryBase::GetFactory(), and itk::FastMutexLock::Unlock().
|
mutableprotected |
Definition at line 68 of file itkSimpleFastMutexLock.h.