![]() |
Orfeo Toolbox
3.16
|
Critical section locking class that can be allocated on the stack. More...
#include <itkSimpleFastMutexLock.h>
Public Types | |
| typedef SimpleFastMutexLock | Self |
Public Member Functions | |
| SimpleFastMutexLock () | |
| ~SimpleFastMutexLock () | |
| void | Lock () const |
| void | Unlock () const |
Protected Attributes | |
| FastMutexType | m_FastMutexLock |
Critical section locking class that can be allocated on the stack.
SimpleFastMutexLock is used by FastMutexLock to perform mutex locking. SimpleFastMutexLock is not a subclass of Object and is designed to be allocated on the stack.
Definition at line 74 of file itkSimpleFastMutexLock.h.
Standard class typedefs.
Definition at line 78 of file itkSimpleFastMutexLock.h.
| itk::SimpleFastMutexLock::SimpleFastMutexLock | ( | ) |
Constructor and destructor left public purposely because of stack allocation.
Definition at line 26 of file itkSimpleFastMutexLock.cxx.
References m_FastMutexLock, and NULL.
| itk::SimpleFastMutexLock::~SimpleFastMutexLock | ( | ) |
Definition at line 48 of file itkSimpleFastMutexLock.cxx.
References m_FastMutexLock.
| void itk::SimpleFastMutexLock::Lock | ( | void | ) | const |
Lock access.
Definition at line 61 of file itkSimpleFastMutexLock.cxx.
References m_FastMutexLock.
Referenced by itk::ThreadLogger::AddLogOutput(), itk::StdStreamLogOutput::Flush(), itk::ThreadLogger::Flush(), itk::ThreadLogger::GetLevelForFlushing(), itk::ThreadLogger::GetPriorityLevel(), itk::FastMutexLock::Lock(), itk::TimeStamp::Modified(), itk::fem::FEMObjectFactory< FEMLightObject >::Register(), itk::fem::VisitorDispatcher< TVisitedClass, TVisitorBase, TVisitFunctionPointerType >::RegisterVisitor(), itk::ThreadLogger::SetLevelForFlushing(), itk::ThreadLogger::SetPriorityLevel(), itk::ThreadLogger::ThreadFunction(), itk::LoggerThreadWrapper< SimpleLoggerType >::ThreadFunction(), itk::ThreadLogger::ThreadLogger(), itk::StdStreamLogOutput::Write(), and itk::ThreadLogger::Write().
| void itk::SimpleFastMutexLock::Unlock | ( | void | ) | const |
Unlock access.
Definition at line 78 of file itkSimpleFastMutexLock.cxx.
References m_FastMutexLock.
Referenced by itk::ThreadLogger::AddLogOutput(), itk::StdStreamLogOutput::Flush(), itk::ThreadLogger::Flush(), itk::ThreadLogger::GetLevelForFlushing(), itk::ThreadLogger::GetPriorityLevel(), itk::TimeStamp::Modified(), itk::fem::FEMObjectFactory< FEMLightObject >::Register(), itk::fem::VisitorDispatcher< TVisitedClass, TVisitorBase, TVisitFunctionPointerType >::RegisterVisitor(), itk::ThreadLogger::SetLevelForFlushing(), itk::ThreadLogger::SetPriorityLevel(), itk::ThreadLogger::ThreadFunction(), itk::LoggerThreadWrapper< SimpleLoggerType >::ThreadFunction(), itk::FastMutexLock::Unlock(), itk::StdStreamLogOutput::Write(), itk::ThreadLogger::Write(), and itk::ThreadLogger::~ThreadLogger().
|
mutableprotected |
Definition at line 91 of file itkSimpleFastMutexLock.h.
Referenced by Lock(), SimpleFastMutexLock(), Unlock(), and ~SimpleFastMutexLock().