Orfeo Toolbox  3.16
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes
itk::SimpleMutexLock Class Reference

Simple mutual exclusion locking class. More...

#include <itkMutexLock.h>

List of all members.

Public Types

typedef SimpleMutexLock Self

Public Member Functions

 SimpleMutexLock ()
virtual ~SimpleMutexLock ()
void Delete ()
MutexTypeGetMutexLock ()
const 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 70 of file itkMutexLock.h.


Member Typedef Documentation

Standard class typedefs.

Definition at line 74 of file itkMutexLock.h.


Constructor & Destructor Documentation

itk::SimpleMutexLock::SimpleMutexLock ( )

Constructor and destructor left public purposely.

Definition at line 33 of file itkMutexLock.cxx.

References m_MutexLock, and NULL.

Referenced by New().

itk::SimpleMutexLock::~SimpleMutexLock ( )
virtual

Definition at line 54 of file itkMutexLock.cxx.

References m_MutexLock.


Member Function Documentation

void itk::SimpleMutexLock::Delete ( )
inline

Definition at line 82 of file itkMutexLock.h.

MutexType& itk::SimpleMutexLock::GetMutexLock ( )
inline

Access the MutexType member variable from outside this class

Definition at line 94 of file itkMutexLock.h.

Referenced by itk::ConditionVariable::Wait().

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

Definition at line 98 of file itkMutexLock.h.

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

Used for debugging and other run-time purposes.

Definition at line 85 of file itkMutexLock.h.

void itk::SimpleMutexLock::Lock ( void  )

Lock the MutexLock.

Definition at line 66 of file itkMutexLock.cxx.

References m_MutexLock.

Referenced by itk::MutexLock::Lock(), and itk::Barrier::Wait().

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

Methods for creation and destruction through the object factory.

Definition at line 27 of file itkMutexLock.cxx.

References SimpleMutexLock().

void itk::SimpleMutexLock::Unlock ( void  )

Unlock the MutexLock.

Definition at line 82 of file itkMutexLock.cxx.

References m_MutexLock.

Referenced by itk::MutexLock::Unlock(), and itk::Barrier::Wait().


Member Data Documentation

MutexType itk::SimpleMutexLock::m_MutexLock
protected

Definition at line 104 of file itkMutexLock.h.

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


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

Generated at Sun Feb 3 2013 02:33:43 for Orfeo Toolbox with doxygen 1.8.1.1