#include <igtlMutexLock.h>
Public Types | |
typedef SimpleMutexLock | Self |
Public Member Functions | |
virtual const char * | GetNameOfClass () |
void | Lock (void) |
void | Unlock (void) |
SimpleMutexLock () | |
virtual | ~SimpleMutexLock () |
MutexType & | GetMutexLock () |
const MutexType | GetMutexLock () const |
Static Public Member Functions | |
static SimpleMutexLock * | New () |
Protected Attributes | |
MutexType | m_MutexLock |
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.
Standard class typedefs.
Definition at line 87 of file igtlMutexLock.h.
igtl::SimpleMutexLock::SimpleMutexLock | ( | ) |
Constructor and destructor left public purposely.
|
virtual |
Constructor and destructor left public purposely.
|
inline |
Access the MutexType member variable from outside this class
Definition at line 109 of file igtlMutexLock.h.
|
inline |
Access the MutexType member variable from outside this class
Definition at line 113 of file igtlMutexLock.h.
|
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 |
Methods for creation and destruction through the object factory.
void igtl::SimpleMutexLock::Unlock | ( | void | ) |
Unlock the MutexLock.
Referenced by igtl::MutexLock::Unlock().
|
protected |
Definition at line 120 of file igtlMutexLock.h.