Function setGenerationDeltaTime(GenerationDeltaTime&, const uint64_t, const uint16_t)

Function Documentation

inline void setGenerationDeltaTime(GenerationDeltaTime &generation_delta_time, const uint64_t unix_nanosecs, const uint16_t n_leap_seconds = etsi_its_msgs::LEAP_SECOND_INSERTIONS_SINCE_2004.rbegin()->second)

Set the GenerationDeltaTime-Value.

Parameters:
  • generation_delta_time – GenerationDeltaTime to set the GenerationDeltaTime-Value for

  • unix_nanosecs – Timestamp in unix-nanoseconds to set the GenerationDeltaTime-Value from

  • n_leap_seconds – Number of leap seconds since 2004 for the given timestamp (Defaults to the todays number of leap seconds since 2004.)