Struct UTC_time

Struct Documentation

struct UTC_time

UTC (Coordinated Universal Time) time-stamp structure for GPS messages.

Public 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.

inline bool operator==(const UTC_time &o) const
inline bool operator!=(const UTC_time &o) const
void writeToStream(mrpt::serialization::CArchive &out) const

Save to binary stream. Launches an exception upon error

void readFromStream(mrpt::serialization::CArchive &in)

Save to binary stream. Launches an exception upon error

Public Members

uint8_t hour = {0}
uint8_t minute = {0}
double sec = {0}