UTC (Coordinated Universal Time) time-stamp structure for GPS messages.
Definition at line 109 of file gnss_messages_common.h.
#include <mrpt/obs/gnss_messages_common.h>
Public Member Functions | |
| UTC_time () | |
| mrpt::system::TTimeStamp | getAsTimestamp (const mrpt::system::TTimeStamp &date) const |
| Build an MRPT timestamp with the hour/minute/sec of this structure and the date from the given timestamp. More... | |
| bool | operator== (const UTC_time &o) const |
| bool | operator!= (const UTC_time &o) const |
| void | writeToStream (mrpt::utils::CStream &out) const |
| Save to binary stream. Launches an exception upon error. More... | |
| void | readFromStream (mrpt::utils::CStream &in) |
| Save to binary stream. Launches an exception upon error. More... | |
Public Attributes | |
| uint8_t | hour |
| uint8_t | minute |
| double | sec |
| mrpt::obs::gnss::UTC_time::UTC_time | ( | ) |
| mrpt::system::TTimeStamp mrpt::obs::gnss::UTC_time::getAsTimestamp | ( | const mrpt::system::TTimeStamp & | date | ) | const |
Build an MRPT timestamp with the hour/minute/sec of this structure and the date from the given timestamp.
|
inline |
Definition at line 118 of file gnss_messages_common.h.
|
inline |
Definition at line 117 of file gnss_messages_common.h.
| void mrpt::obs::gnss::UTC_time::readFromStream | ( | mrpt::utils::CStream & | in | ) |
Save to binary stream. Launches an exception upon error.
| void mrpt::obs::gnss::UTC_time::writeToStream | ( | mrpt::utils::CStream & | out | ) | const |
Save to binary stream. Launches an exception upon error.
| uint8_t mrpt::obs::gnss::UTC_time::hour |
Definition at line 111 of file gnss_messages_common.h.
Referenced by operator!=(), and operator==().
| uint8_t mrpt::obs::gnss::UTC_time::minute |
Definition at line 112 of file gnss_messages_common.h.
Referenced by operator!=(), and operator==().
| double mrpt::obs::gnss::UTC_time::sec |
Definition at line 113 of file gnss_messages_common.h.
Referenced by operator!=(), and operator==().
| Page generated by Doxygen 1.9.1 for MRPT 1.4.0 SVN: at Fri Sep 3 01:11:30 UTC 2021 |