Function setTimestampITS
Defined in File cdd_setters_common.h
Function Documentation
-
inline void setTimestampITS(TimestampIts ×tamp_its, const uint64_t unix_nanosecs, const uint16_t n_leap_seconds = etsi_its_msgs::LEAP_SECOND_INSERTIONS_SINCE_2004.rbegin()->second)
Set the TimestampITS object.
- Parameters:
timestamp_its – [in] TimestampITS object to set the timestamp
unix_nanosecs – [in] Unix-Nanoseconds to set the timestamp for
n_leap_seconds – [in] Number of leap-seconds since 2004. (Defaults to the todays number of leap seconds since 2004.)
epoch_offset – [in] Unix-Timestamp in seconds for the 01.01.2004 at 00:00:00