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

Function Documentation

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

Set the Generation Delta Time object.

Parameters:
  • cam – CAM 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.)