GNSS-SDR  0.0.19
An Open Source GNSS Software Defined Receiver
gnss_time.h
Go to the documentation of this file.
1 /*!
2  * \file gnss_time.h
3  * \brief class that stores both the receiver time, relative to the receiver start and the GNSS time (absolute)
4  * \author Javier Arribas 2022. jarribas(at)cttc.es
5  *
6  * -----------------------------------------------------------------------------
7  *
8  * GNSS-SDR is a Global Navigation Satellite System software-defined receiver.
9  * This file is part of GNSS-SDR.
10  *
11  * Copyright (C) 2010-2020 (see AUTHORS file for a list of contributors)
12  * SPDX-License-Identifier: GPL-3.0-or-later
13  *
14  * -----------------------------------------------------------------------------
15  */
16 
17 
18 #ifndef GNSS_SDR_GNSS_TIME_H
19 #define GNSS_SDR_GNSS_TIME_H
20 
21 #include <cstdint>
22 
23 class GnssTime
24 {
25 public:
26  double rx_time;
27  int week; /*!< GPS week number (since January 1980) */
28  int tow_ms; /* time of week [ms]*/
29  double tow_ms_fraction; /* tow ms fractional part [ms]*/
30 };
31 
32 #endif
int week
Definition: gnss_time.h:27