|
truck-code
|
#include <string>#include <sys/pps.h>

Go to the source code of this file.
Classes | |
| struct | timestamp_t |
Functions | |
| void | print_timestamp (FILE *, timestamp_t *) |
| void | encode_timestamp (pps_encoder_t, timestamp_t *) |
| void | decode_timestamp (pps_decoder_t decoder, timestamp_t *t) |
| void | import_timestamp (timestamp_t *, std::string) |
| void | get_current_timestamp (timestamp_t *) |
This file contains a timestamp object and methods needed to collect, print, and publish timestamps, for use in jbus/j1939 message and when sending lateral / longitudinal commands.
| void decode_timestamp | ( | pps_decoder_t | decoder, |
| timestamp_t * | t | ||
| ) |
Decodes a timestamp_t variable from a PPS decoder object.
| void encode_timestamp | ( | pps_encoder_t | encoder, |
| timestamp_t * | t | ||
| ) |
encodes a timestamp_t variable into a pps encoder object
encodes a timestamp_t variable into a PPS encoder object
| void get_current_timestamp | ( | timestamp_t * | t | ) |
Returns a timestamp variable for the current time.
| void import_timestamp | ( | timestamp_t * | t, |
| std::string | s | ||
| ) |
imports a string timestamp into a timestamp object
| void print_timestamp | ( | FILE * | fp, |
| timestamp_t * | t | ||
| ) |
method used to print data from a timestamp_t variable
1.8.13