Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::SimpleMutexLock Class Reference
[OS System Objects]

#include <itkMutexLock.h>

List of all members.


Detailed Description

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.
void Delete ()
static SimpleMutexLockNew ()

Public Types

typedef SimpleMutexLock Self

Public Member Functions

virtual const char * GetNameOfClass ()
void Lock (void)
void Unlock (void)
const MutexType GetMutexLock () const
MutexTypeGetMutexLock ()

Protected Attributes

MutexType m_MutexLock


Member Typedef Documentation

typedef SimpleMutexLock itk::SimpleMutexLock::Self

Standard class typedefs.

Definition at line 74 of file itkMutexLock.h.


Constructor & Destructor Documentation

itk::SimpleMutexLock::SimpleMutexLock (  ) 

Constructor and destructor left public purposely.

virtual itk::SimpleMutexLock::~SimpleMutexLock (  )  [virtual]

Constructor and destructor left public purposely.

itk::SimpleMutexLock::SimpleMutexLock (  ) 

Constructor and destructor left public purposely.

virtual itk::SimpleMutexLock::~SimpleMutexLock (  )  [virtual]

Constructor and destructor left public purposely.


Member Function Documentation

void itk::SimpleMutexLock::Delete (  )  [inline]

Definition at line 83 of file itkMutexLock.h.

const MutexType itk::SimpleMutexLock::GetMutexLock (  )  const [inline]

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().


Member Data Documentation

MutexType itk::SimpleMutexLock::m_MutexLock [protected]

Definition at line 107 of file itkMutexLock.h.


The documentation for this class was generated from the following file:
Generated at Mon Apr 14 22:11:20 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000