7 #ifndef __FWCORE_LOGICSTAMP_HPP__ 8 #define __FWCORE_LOGICSTAMP_HPP__ 10 #include "fwCore/base.hpp" 11 #include "fwCore/HiResClock.hpp" 39 this->m_modifiedLogicalTime = 0;
48 FWCORE_API
void modified();
56 return this->m_modifiedLogicalTime;
67 return ( this->m_modifiedLogicalTime > ls.m_modifiedLogicalTime );
77 return ( this->m_modifiedLogicalTime < ls.m_modifiedLogicalTime );
83 FWCORE_API
operator LogicStampType()
const 85 return this->m_modifiedLogicalTime;
94 LogicStampType m_modifiedLogicalTime;
100 #endif // __FWCORE_LOGICSTAMP_HPP__ FWCORE_API bool operator<(const LogicStamp &ls) const
Lesser than operator for LogicStamp.
Base class for all FW4SPL's classes.
This namespace fwCore provides common foundations for FW4SPL.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
unsigned long LogicStampType
Type used in logical typestamp.
Provides a Logical timestamp system.
FWCORE_API LogicStampType getLogicStamp() const
FWCORE_API bool operator>(const LogicStamp &ls) const
Greater than operator for LogicStamp.