Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  
Public Types | Public Member Functions | Protected Attributes | List of all members
igtl::SimpleMutexLock Class Reference

#include <igtlMutexLock.h>

Public Types

typedef SimpleMutexLock Self
 

Public Member Functions

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

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 83 of file igtlMutexLock.h.

Member Typedef Documentation

Standard class typedefs.

Definition at line 87 of file igtlMutexLock.h.

Constructor & Destructor Documentation

igtl::SimpleMutexLock::SimpleMutexLock ( )

Constructor and destructor left public purposely.

virtual igtl::SimpleMutexLock::~SimpleMutexLock ( )
virtual

Constructor and destructor left public purposely.

Member Function Documentation

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

Access the MutexType member variable from outside this class

Definition at line 109 of file igtlMutexLock.h.

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

Access the MutexType member variable from outside this class

Definition at line 113 of file igtlMutexLock.h.

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

Used for debugging and other run-time purposes.

Definition at line 100 of file igtlMutexLock.h.

void igtl::SimpleMutexLock::Lock ( void  )

Lock the MutexLock.

Referenced by igtl::MutexLock::Lock().

static SimpleMutexLock* igtl::SimpleMutexLock::New ( )
static

Methods for creation and destruction through the object factory.

void igtl::SimpleMutexLock::Unlock ( void  )

Unlock the MutexLock.

Referenced by igtl::MutexLock::Unlock().

Member Data Documentation

MutexType igtl::SimpleMutexLock::m_MutexLock
protected

Definition at line 120 of file igtlMutexLock.h.


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

Generated at Mon Nov 11 2013 05:19:50 for OpenIGTLink by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2012