NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
|
#include <cxErrorObserver.h>
Public Member Functions | |
StaticMutexVtkLocker () | |
~StaticMutexVtkLocker () | |
Locks a static mutex in the constructor and unlocks it in the desctructor, similar to a QMutexLocker.
Use this as a global access restriction for thread-unsafe VTK objects.
Testing has shown that the following methods need to be mutexed:
Note: Googling indicates that VTK in general is threadUNsafe.
Definition at line 28 of file cxErrorObserver.h.
cx::StaticMutexVtkLocker::StaticMutexVtkLocker | ( | ) |
Definition at line 6 of file cxErrorObserver.cpp.
cx::StaticMutexVtkLocker::~StaticMutexVtkLocker | ( | ) |
Definition at line 13 of file cxErrorObserver.cpp.