33 #ifndef __igtlMutexLock_h 34 #define __igtlMutexLock_h 39 #ifdef OpenIGTLink_USE_SPROC 40 #include <abi_mutex.h> 43 #ifdef OpenIGTLink_USE_PTHREADS 47 #ifdef OpenIGTLink_USE_WIN32_THREADS 54 #ifdef OpenIGTLink_USE_SPROC 58 #ifdef OpenIGTLink_USE_PTHREADS 62 #ifdef OpenIGTLink_USE_WIN32_THREADS 66 #ifndef OpenIGTLink_USE_SPROC 67 #ifndef OpenIGTLink_USE_PTHREADS 68 #ifndef OpenIGTLink_USE_WIN32_THREADS 158 void PrintSelf(std::ostream& os)
const;
162 void operator=(
const Self&);
168 m_SimpleMutexLock.Lock();
173 m_SimpleMutexLock.Unlock();
MutexType & GetMutexLock()
SmartPointer< Self > Pointer
const MutexType GetMutexLock() const
#define igtlTypeMacro(thisClass, superclass)
The "igtl" namespace contains all OpenIGTLink classes. There are several nested namespaces within the...
Mutual exclusion locking class.
virtual const char * GetNameOfClass()
SimpleMutexLock m_SimpleMutexLock
SmartPointer< const Self > ConstPointer
Base class for most igtl classes.
Simple mutual exclusion locking class.