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 Methods

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

Static Public Methods

Pointer New ()

Protected Methods

 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 108 of file itkMutexLock.h.


Member Typedef Documentation

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

Reimplemented from itk::Object.

Definition at line 115 of file itkMutexLock.h.

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

Reimplemented from itk::Object.

Definition at line 114 of file itkMutexLock.h.

typedef MutexLock itk::MutexLock::Self
 

Standard class typedefs.

Reimplemented from itk::Object.

Definition at line 112 of file itkMutexLock.h.

typedef Object itk::MutexLock::Superclass
 

Reimplemented from itk::Object.

Definition at line 113 of file itkMutexLock.h.


Constructor & Destructor Documentation

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

Definition at line 130 of file itkMutexLock.h.

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

Definition at line 131 of file itkMutexLock.h.

References HardConnectedComponentImageFilter::PrintSelf().


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 142 of file itkMutexLock.h.

References m_SimpleMutexLock.

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 147 of file itkMutexLock.h.

References m_SimpleMutexLock.


Member Data Documentation

SimpleMutexLock itk::MutexLock::m_SimpleMutexLock [protected]
 

Definition at line 133 of file itkMutexLock.h.

Referenced by Lock(), and Unlock().


The documentation for this class was generated from the following file:
Generated at Wed Mar 12 01:19:42 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000