28 std::atomic_int_least64_t m_nCurrentTime;
Copyright © Audi Electronics Venture GmbH.
tInt64 tTimeStamp
type definition for a time value.
A common result class usable as return value throughout.
Basic Clock implementation for adtf::services::ant::IReferenceClock::IClock.
Discrete Clock implementation.
tResult Reset(tTimeStamp tmNewTime)
Resets the time to the new value and send the reste time events.
tResult SetTime(tTimeStamp tmNewTime)
Sets the time to the new value and resets if value is less than time is set.
cDiscreteClock(const char *strName)
CTOR.
Discrete Clock implementation.
tResult Reset(tTimeStamp tmNewTime)
Resets the time to the new value and send the reset time events.
tResult Reset(adtf::base::flash::tNanoSeconds tmNewTime)
Resets the time to the new value and send the reste time events.
tResult SetTime(adtf::base::flash::tNanoSeconds tmNewTime)
Sets the time to the new value and resets if value is less than time is set.
cDiscreteClock()
CTOR make sure you call SetName()
tResult SetTime(tTimeStamp tmNewTime)
Sets the time to the new value and resets if value is less than time is set.
cDiscreteClock(const char *strName)
CTOR.
Namespace for entire ADTF SDK.
A timestamp with nanosecond precision.