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

itk::MutexLock Class Reference
[OS System Objects]

Mutual exclusion locking class. More...

#include <itkMutexLock.h>

Inheritance diagram for itk::MutexLock:

Inheritance graph
[legend]
Collaboration diagram for itk::MutexLock:

Collaboration graph
[legend]
List of all members.

Public Types

typedef MutexLock Self
typedef Object Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer

Public Member Functions

virtual const char * GetClassName () const
void Lock (void)
void Unlock (void)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 MutexLock ()
 ~MutexLock ()
void PrintSelf (std::ostream &os, Indent indent) const

Protected Attributes

SimpleMutexLock m_SimpleMutexLock

Detailed Description

Mutual exclusion locking class.

MutexLock allows the locking of variables which are accessed through different threads. This header file also defines SimpleMutexLock which is not a subclass of itkObject.

Definition at line 119 of file itkMutexLock.h.


Member Typedef Documentation

typedef SmartPointer<const Self> itk::MutexLock::ConstPointer
 

Reimplemented from itk::Object.

Definition at line 126 of file itkMutexLock.h.

typedef SmartPointer<Self> itk::MutexLock::Pointer
 

Reimplemented from itk::Object.

Definition at line 125 of file itkMutexLock.h.

typedef MutexLock itk::MutexLock::Self
 

Standard class typedefs.

Reimplemented from itk::Object.

Definition at line 123 of file itkMutexLock.h.

typedef Object itk::MutexLock::Superclass
 

Reimplemented from itk::Object.

Definition at line 124 of file itkMutexLock.h.


Constructor & Destructor Documentation

itk::MutexLock::MutexLock  )  [inline, protected]
 

Definition at line 141 of file itkMutexLock.h.

itk::MutexLock::~MutexLock  )  [inline, protected]
 

Definition at line 142 of file itkMutexLock.h.


Member Function Documentation

virtual const char* itk::MutexLock::GetClassName  )  const [virtual]
 

Run-time information.

Reimplemented from itk::Object.

void itk::MutexLock::Lock void   )  [inline]
 

Lock the itkMutexLock. Definition at line 153 of file itkMutexLock.h.

Pointer itk::MutexLock::New  )  [static]
 

Method for creation.

Reimplemented from itk::Object.

void itk::MutexLock::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::Object.

void itk::MutexLock::Unlock void   )  [inline]
 

Unlock the MutexLock. Definition at line 158 of file itkMutexLock.h.


Member Data Documentation

SimpleMutexLock itk::MutexLock::m_SimpleMutexLock [protected]
 

Definition at line 144 of file itkMutexLock.h.


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:10:33 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000