Orfeo Toolbox  4.0
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
itk::SimpleMutexLock Class Reference

Simple mutual exclusion locking class. More...

#include <itkMutexLock.h>

Public Types

typedef SimpleMutexLock Self

Public Member Functions

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

Static Public Member Functions

static SimpleMutexLockNew ()

Protected Attributes

MutexType m_MutexLock

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

Member Typedef Documentation

Standard class typedefs.

Definition at line 52 of file itkMutexLock.h.

Constructor & Destructor Documentation

itk::SimpleMutexLock::SimpleMutexLock ( )

Constructor and destructor left public purposely.

Definition at line 39 of file itkMutexLockNoThreads.cxx.

References m_MutexLock, and NULL.

Referenced by New().

itk::SimpleMutexLock::~SimpleMutexLock ( )

Definition at line 55 of file itkMutexLockNoThreads.cxx.

References m_MutexLock.

Member Function Documentation

void itk::SimpleMutexLock::Delete ( )

Definition at line 61 of file itkMutexLock.h.

MutexType& itk::SimpleMutexLock::GetMutexLock ( )

Access the MutexType member variable from outside this class

Definition at line 73 of file itkMutexLock.h.

MutexType itk::SimpleMutexLock::GetMutexLock ( ) const

Definition at line 78 of file itkMutexLock.h.

virtual const char* itk::SimpleMutexLock::GetNameOfClass ( )

Used for debugging and other run-time purposes.

Definition at line 64 of file itkMutexLock.h.

void itk::SimpleMutexLock::Lock ( void  )
SimpleMutexLock * itk::SimpleMutexLock::New ( void  )

Methods for creation and destruction through the object factory.

Definition at line 41 of file itkMutexLock.cxx.

References SimpleMutexLock().

void itk::SimpleMutexLock::Unlock ( void  )

Member Data Documentation

MutexType itk::SimpleMutexLock::m_MutexLock

Definition at line 84 of file itkMutexLock.h.

Referenced by Lock(), SimpleMutexLock(), Unlock(), and ~SimpleMutexLock().

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

Generated at Sat Mar 8 2014 17:44:57 for Orfeo Toolbox with doxygen