etsi_its_messages v3.4.0
Loading...
Searching...
No Matches
denm_utils.h File Reference

Utility functions for the ETSI ITS DENM (EN and TS). More...

Go to the source code of this file.

Functions

uint64_t getUnixNanosecondsFromReferenceTime (const TimestampIts &reference_time)
 Get the Unix-Nanoseconds from a given ReferenceTime object.

Detailed Description

Utility functions for the ETSI ITS DENM (EN and TS).

Definition in file denm_utils.h.

Function Documentation

◆ getUnixNanosecondsFromReferenceTime()

uint64_t getUnixNanosecondsFromReferenceTime ( const TimestampIts & reference_time)
inline

Get the Unix-Nanoseconds from a given ReferenceTime object.

Parameters
reference_timethe ReferenceTime object to get the Unix-Nanoseconds from
n_leap_secondsnumber of leap-seconds since 2004. (Default: etsi_its_msgs::N_LEAP_SECONDS)
Returns
uint64_t the corresponding Unix-Nanoseconds

Definition at line 44 of file denm_utils.h.