8 #include "fwCore/mt/types.hpp" 9 #include "fwCore/LogicStamp.hpp" 18 static ::fwCore::mt::Mutex globalLogicStampMutex;
20 ::fwCore::mt::ScopedLock lock(globalLogicStampMutex);
22 m_modifiedLogicalTime = ++globalLogicStamp;
24 SLM_ASSERT(
"globalLogicStamp not instanced", globalLogicStamp);
This namespace fwCore provides common foundations for FW4SPL.
unsigned long LogicStampType
Type used in logical typestamp.
#define SLM_ASSERT(message, cond)
work like 'assert' from 'cassert', with in addition a message logged by spylog (with FATAL loglevel) ...
FWCORE_API void modified()
Increment global Logical counter and copy it to this LogicStamp.