GPSCNav2Alm.hpp
Go to the documentation of this file.
1 //==============================================================================
2 //
3 // This file is part of GNSSTk, the ARL:UT GNSS Toolkit.
4 //
5 // The GNSSTk is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU Lesser General Public License as published
7 // by the Free Software Foundation; either version 3.0 of the License, or
8 // any later version.
9 //
10 // The GNSSTk is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU Lesser General Public License for more details.
14 //
15 // You should have received a copy of the GNU Lesser General Public
16 // License along with GNSSTk; if not, write to the Free Software Foundation,
17 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
18 //
19 // This software was developed by Applied Research Laboratories at the
20 // University of Texas at Austin.
21 // Copyright 2004-2022, The Board of Regents of The University of Texas System
22 //
23 //==============================================================================
24 
25 
26 //==============================================================================
27 //
28 // This software was developed by Applied Research Laboratories at the
29 // University of Texas at Austin, under contract to an agency or agencies
30 // within the U.S. Department of Defense. The U.S. Government retains all
31 // rights to use, duplicate, distribute, disclose, or release this software.
32 //
33 // Pursuant to DoD Directive 523024
34 //
35 // DISTRIBUTION STATEMENT A: This software has been approved for public
36 // release, distribution is unlimited.
37 //
38 //==============================================================================
39 #ifndef GNSSTK_GPSCNAV2ALM_HPP
40 #define GNSSTK_GPSCNAV2ALM_HPP
41 
42 #include "OrbitDataGPS.hpp"
43 #include "gnsstk_export.h"
44 
45 namespace gnsstk
46 {
48 
49 
51  class GPSCNav2Alm : public OrbitDataGPS
52  {
53  public:
56  GNSSTK_EXPORT static const double refi0GPS;
59  GNSSTK_EXPORT static const double refi0QZSS;
60 
62  GPSCNav2Alm();
64  NavDataPtr clone() const override
65  { return std::make_shared<GPSCNav2Alm>(*this); }
66 
72  bool validate() const override;
73 
76  void dumpHarmonics(std::ostream& s) const override
77  {}
78 
80  void fixFit();
81 
83  bool healthL1;
84  bool healthL2;
85  bool healthL5;
86  double deltai;
87  unsigned wna;
88  double toa;
89  };
90 
92 
93 }
94 
95 #endif // GNSSTK_GPSCNAV2ALM_HPP
gnsstk::NavDataPtr
std::shared_ptr< NavData > NavDataPtr
Factories instantiate these in response to find() requests.
Definition: NavData.hpp:62
gnsstk::OrbitDataGPS
Base class for all GPS broadcast orbit data.
Definition: OrbitDataGPS.hpp:51
gnsstk::GPSCNav2Alm::healthL2
bool healthL2
L2 signal health.
Definition: GPSCNav2Alm.hpp:84
gnsstk::GPSCNav2Alm::GPSCNav2Alm
GPSCNav2Alm()
Sets the nav message type.
Definition: GPSCNav2Alm.cpp:49
OrbitDataGPS.hpp
gnsstk::GPSCNav2Alm::healthL5
bool healthL5
L5 signal health.
Definition: GPSCNav2Alm.hpp:85
gnsstk::GPSCNav2Alm::dumpHarmonics
void dumpHarmonics(std::ostream &s) const override
Definition: GPSCNav2Alm.hpp:76
gnsstk::GPSCNav2Alm::validate
bool validate() const override
Definition: GPSCNav2Alm.cpp:63
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::GPSCNav2Alm
Class containing data elements unique to GPS CNav2 midi almanac.
Definition: GPSCNav2Alm.hpp:51
gnsstk::GPSCNav2Alm::clone
NavDataPtr clone() const override
Create a deep copy of this object.
Definition: GPSCNav2Alm.hpp:64
gnsstk::GPSCNav2Alm::toa
double toa
Convenience storage of unqualified toa.
Definition: GPSCNav2Alm.hpp:88
gnsstk::GPSCNav2Alm::refi0GPS
static const GNSSTK_EXPORT double refi0GPS
Definition: GPSCNav2Alm.hpp:56
gnsstk::GPSCNav2Alm::refi0QZSS
static const GNSSTK_EXPORT double refi0QZSS
Definition: GPSCNav2Alm.hpp:59
gnsstk::GPSCNav2Alm::wna
unsigned wna
Reference week for toa.
Definition: GPSCNav2Alm.hpp:87
gnsstk::GPSCNav2Alm::fixFit
void fixFit()
Fill the beginFit and endFit values for this object.
Definition: GPSCNav2Alm.cpp:71
gnsstk::GPSCNav2Alm::deltai
double deltai
Inclination in rad relative to 0.3*pi rad.
Definition: GPSCNav2Alm.hpp:86
gnsstk::GPSCNav2Alm::healthL1
bool healthL1
L1 signal health.
Definition: GPSCNav2Alm.hpp:83


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:39