EntitySnapshotBase.cpp
Go to the documentation of this file.
2
4
5void
6armarx::armem::base::detail::throwIfNotEqual(const Time& ownTime, const Time& updateTime)
7{
8 ARMARX_CHECK_EQUAL(ownTime, updateTime)
9 << "Cannot update a snapshot to an update with another timestamp. \n"
10 << "Note: A snapshot's timestamp must not be changed after construction.";
11}
#define ARMARX_CHECK_EQUAL(lhs, rhs)
This macro evaluates whether lhs is equal (==) rhs and if it turns out to be false it will throw an E...
void throwIfNotEqual(const Time &ownTime, const Time &updateTime)
armarx::core::time::DateTime Time