etsi_its_messages 1.0.0
|
Utility functions for the ETSI ITS CAM (EN and TS) More...
#include <etsi_its_msgs_utils/impl/cdd/cdd_checks.h>
#include <etsi_its_msgs_utils/impl/constants.h>
Go to the source code of this file.
Functions | |
TimestampIts | getTimestampITSFromGenerationDeltaTime (const GenerationDeltaTime &generation_delta_time, const TimestampIts ×tamp_estimate) |
Get the TimestampITS from a given GenerationDeltaTime object. | |
uint64_t | getUnixNanosecondsFromGenerationDeltaTime (const GenerationDeltaTime &generation_delta_time, const TimestampIts ×tamp_estimate, const uint16_t n_leap_seconds=etsi_its_msgs::LEAP_SECOND_INSERTIONS_SINCE_2004.end() ->second) |
Get the Unix-Nanoseconds from a given GenerationDeltaTime object. | |
uint64_t | getUnixNanosecondsFromGenerationDeltaTime (const GenerationDeltaTime &generation_delta_time, const uint64_t unix_timestamp_estimate, const uint16_t n_leap_seconds=etsi_its_msgs::LEAP_SECOND_INSERTIONS_SINCE_2004.end() ->second) |
Get the Unix Nanoseconds from Generation Delta Time object. | |
Utility functions for the ETSI ITS CAM (EN and TS)
Definition in file cam_utils.h.
|
inline |
Get the TimestampITS from a given GenerationDeltaTime object.
generation_delta_time | the GenerationDeltaTime object to get the TimestampITS from |
timestamp_estimate | estimated time to calculate the corresponding generation from |
Definition at line 45 of file cam_utils.h.
|
inline |
Get the Unix-Nanoseconds from a given GenerationDeltaTime object.
generation_delta_time | the GenerationDeltaTime object to get the Unix-Nanoseconds from |
timestamp_estimate | estimated time to calculate the corresponding generation from |
n_leap_seconds | number of leap-seconds since 2004. (Default: etsi_its_msgs::LEAP_SECOND_INSERTIONS_SINCE_2004.end()->second) |
Definition at line 61 of file cam_utils.h.
|
inline |
Get the Unix Nanoseconds from Generation Delta Time object.
generation_delta_time | the GenerationDeltaTime object to get the Unix-Nanoseconds from |
unix_timestamp_estimate | estimated unix-time (in Nanoseconds) to calculate the corresponding generation from |
Definition at line 75 of file cam_utils.h.