Fixposition SDK 0.0.0-heads/main-0-g5c7edb5
Collection of c++ libraries and apps for use with Fixposition products on Linux
Loading...
Searching...
No Matches
fpsdk::common::time::GloTime Struct Reference

GLONASS time. More...

#include <time.hpp>

Public Member Functions

 GloTime ()=default
 Ctor.
 
 GloTime (const int N4, const int Nt, const double TOD)
 Constructor.
 

Public Attributes

int N4_ = 0
 Four-year interval, 1=1996..1999, 2=2000..2003, ... (SANE_N4_MIN - SANE_N4_MAX)
 
int Nt_ = 0
 Day in four-year interval (SANE_NT_MIN - SANE_NT_MAX)
 
double TOD_ = 0.0
 Time of day (in Москва time zone) [s] (SANE_TOD_MIN - SANE_TOD_MAX)
 

Static Public Attributes

static constexpr int SANE_N4_MIN = 1
 Minimum sane N4_ value.
 
static constexpr int SANE_N4_MAX = 99
 Maximum sane N4_ value, good enough for the next centuries.
 
static constexpr int SANE_NT_MIN = 1
 Minimum sane Nt_ value.
 
static constexpr int SANE_NT_MAX = 1461
 Maximum sane Nt_ value.
 
static constexpr double SANE_TOD_MIN = 0.0
 Minimum sane TOD_ value.
 
static constexpr double SANE_TOD_MAX = SEC_IN_DAY_D - std::numeric_limits<double>::epsilon()
 Maximum sane TOD_ value.
 

Detailed Description

GLONASS time.

Definition at line 488 of file time.hpp.

Constructor & Destructor Documentation

◆ GloTime()

fpsdk::common::time::GloTime::GloTime ( const int N4,
const int Nt,
const double TOD )

Constructor.

Note
Input values are not normalised nor range checked here. See comments in Time::GetGloTime() and Time::SetGloTime()
Parameters
[in]N4Four-year interval, 1=1996..1999, 2=2000..2003, ... (SANE_N4_MIN - SANE_N4_MAX)
[in]NtDay in four-year interval (SANE_NT_MIN - SANE_NT_MAX)
[in]TODTime of day (in Москва time zone) [s] (SANE_TOD_MIN - SANE_TOD_MAX)

Member Data Documentation

◆ SANE_N4_MIN

int fpsdk::common::time::GloTime::SANE_N4_MIN = 1
staticconstexpr

Minimum sane N4_ value.

Definition at line 505 of file time.hpp.

◆ SANE_N4_MAX

int fpsdk::common::time::GloTime::SANE_N4_MAX = 99
staticconstexpr

Maximum sane N4_ value, good enough for the next centuries.

Definition at line 506 of file time.hpp.

◆ SANE_NT_MIN

int fpsdk::common::time::GloTime::SANE_NT_MIN = 1
staticconstexpr

Minimum sane Nt_ value.

Definition at line 507 of file time.hpp.

◆ SANE_NT_MAX

int fpsdk::common::time::GloTime::SANE_NT_MAX = 1461
staticconstexpr

Maximum sane Nt_ value.

Definition at line 508 of file time.hpp.

◆ SANE_TOD_MIN

double fpsdk::common::time::GloTime::SANE_TOD_MIN = 0.0
staticconstexpr

Minimum sane TOD_ value.

Definition at line 509 of file time.hpp.

◆ SANE_TOD_MAX

double fpsdk::common::time::GloTime::SANE_TOD_MAX = SEC_IN_DAY_D - std::numeric_limits<double>::epsilon()
staticconstexpr

Maximum sane TOD_ value.

Definition at line 510 of file time.hpp.

◆ N4_

int fpsdk::common::time::GloTime::N4_ = 0

Four-year interval, 1=1996..1999, 2=2000..2003, ... (SANE_N4_MIN - SANE_N4_MAX)

Definition at line 512 of file time.hpp.

◆ Nt_

int fpsdk::common::time::GloTime::Nt_ = 0

Day in four-year interval (SANE_NT_MIN - SANE_NT_MAX)

Definition at line 513 of file time.hpp.

◆ TOD_

double fpsdk::common::time::GloTime::TOD_ = 0.0

Time of day (in Москва time zone) [s] (SANE_TOD_MIN - SANE_TOD_MAX)

Definition at line 514 of file time.hpp.


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