15 #ifndef InteractionEventObserverMutex_h
16 #define InteractionEventObserverMutex_h
18 #include "niftkCoreExports.h"
20 #include <unordered_map>
24 class InteractionEventObserver;
63 void Lock(mitk::InteractionEventObserver* guardedObserver);
72 void Unlock(mitk::InteractionEventObserver* guardedObserver);
100 void DeactivateOtherInteractionEventObservers();
111 void ReactivateOtherInteractionEventObservers();
113 mitk::InteractionEventObserver* m_GuardedObserver;
117 std::unordered_map<mitk::InteractionEventObserver*, bool> m_StateOfOtherInteractionEventObservers;
Definition: ReceptorMemberCommandTest.cxx:25
Helper class to prevent unwanted simultaneous interactions.
Definition: niftkInteractionEventObserverMutex.h:49
Definition: niftkExceptionObject.h:21