ITK  4.4.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Protected Attributes | List of all members
itk::SimpleFastMutexLock Class Reference

#include <itkSimpleFastMutexLock.h>

Detailed Description

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
 

Member Typedef Documentation

Standard class typedefs.

Definition at line 53 of file itkSimpleFastMutexLock.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

void itk::SimpleFastMutexLock::Lock ( ) const

Lock access.

Referenced by itk::FastMutexLock::Lock().

void itk::SimpleFastMutexLock::Unlock ( ) const

Unlock access.

Referenced by itk::FastMutexLock::Unlock().

Member Data Documentation

FastMutexType itk::SimpleFastMutexLock::m_FastMutexLock
mutableprotected

Definition at line 68 of file itkSimpleFastMutexLock.h.


The documentation for this class was generated from the following file: