tempoch-cpp 0.5.3
Header-only C++ wrapper for tempoch
Loading...
Searching...
No Matches
tempoch::GnssWeek Struct Reference

#include <tempoch/gnss_week.hpp>

Public Attributes

std::uint32_t week
 Full week number since the constellation's epoch (no rollover applied).
 
std::uint32_t seconds_of_week
 Seconds since the start of week, in [0, 604'800).
 
std::uint32_t subsecond_nanos
 Subsecond nanoseconds remainder, in [0, 1'000'000'000).
 

Detailed Description

Decomposed GNSS week-number form since the constellation's defined epoch.

Mirrors tempoch::GnssWeek. week is full (no rollover applied), seconds_of_week lies in [0, 604'800) and subsecond_nanos in [0, 1'000'000'000).

Definition at line 35 of file gnss_week.hpp.

Member Data Documentation

◆ seconds_of_week

std::uint32_t tempoch::GnssWeek::seconds_of_week

Seconds since the start of week, in [0, 604'800).

Definition at line 39 of file gnss_week.hpp.

◆ subsecond_nanos

std::uint32_t tempoch::GnssWeek::subsecond_nanos

Subsecond nanoseconds remainder, in [0, 1'000'000'000).

Definition at line 41 of file gnss_week.hpp.

◆ week

std::uint32_t tempoch::GnssWeek::week

Full week number since the constellation's epoch (no rollover applied).

Definition at line 37 of file gnss_week.hpp.

Referenced by tempoch::to_gnss_week().


The documentation for this struct was generated from the following file: