ITK
4.9.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 |
bool | TryLock () 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.
bool itk::SimpleFastMutexLock::TryLock | ( | ) | const |
Non-blocking Lock access.
void itk::SimpleFastMutexLock::Unlock | ( | ) | const |
Unlock access.
|
mutableprotected |
Definition at line 73 of file itkSimpleFastMutexLock.h.