#include <message_base.h>
◆ parse_utc_timestamp()
| std::chrono::system_clock::time_point bitrl::sensors::MessageBase::parse_utc_timestamp |
( |
const std::string & |
ts | ) |
|
|
static |
Convert the given string into a std::chrono::system_clock::time_point The string is assumed that it represents time in UTC
- Parameters
-
- Returns
◆ unix_milliseconds_since_epoch()
| auto bitrl::sensors::MessageBase::unix_milliseconds_since_epoch |
( |
std::chrono::system_clock::time_point |
point | ) |
|
|
static |
Convert the given time point to a Unix timestamp milliseconds since epoch
- Parameters
-
- Returns
◆ unix_seconds_since_epoch()
| auto bitrl::sensors::MessageBase::unix_seconds_since_epoch |
( |
std::chrono::system_clock::time_point |
point | ) |
|
|
static |
Convert the given time point to a Unix timestamp seconds since epoch
- Parameters
-
- Returns
◆ received_timestamp
| std::chrono::system_clock::time_point bitrl::sensors::MessageBase::received_timestamp {std::chrono::system_clock::now()} |
The timestamp this message was constructed
◆ source_timestamp
| std::chrono::system_clock::time_point bitrl::sensors::MessageBase::source_timestamp |
Time stamp from the source that generated the message
The documentation for this struct was generated from the following files: