GPSCNavAlm.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_GPSCNAVALM_HPP
40 #define GNSSTK_GPSCNAVALM_HPP
41 
42 #include "GPSCNavData.hpp"
43 
44 namespace gnsstk
45 {
47 
48 
50  class GPSCNavAlm : public GPSCNavData
51  {
52  public:
54  GPSCNavAlm();
56  NavDataPtr clone() const override
57  { return std::make_shared<GPSCNavAlm>(*this); }
58 
64  bool validate() const override;
65 
74  CommonTime getUserTime() const override;
75 
78  void dumpHarmonics(std::ostream& s) const override
79  {}
80 
82  void fixFit();
83 
85  bool healthL1;
86  bool healthL2;
87  bool healthL5;
88  double deltai;
89  unsigned wna;
90  double toa;
91  };
92 
94 
95 }
96 
97 #endif // GNSSTK_GPSCNAVALM_HPP
gnsstk::NavDataPtr
std::shared_ptr< NavData > NavDataPtr
Factories instantiate these in response to find() requests.
Definition: NavData.hpp:62
gnsstk::GPSCNavAlm::healthL2
bool healthL2
L2 signal health from message type 10.
Definition: GPSCNavAlm.hpp:86
gnsstk::GPSCNavAlm::healthL5
bool healthL5
L5 signal health from message type 10.
Definition: GPSCNavAlm.hpp:87
gnsstk::GPSCNavAlm::healthL1
bool healthL1
L1 signal health from message type 10.
Definition: GPSCNavAlm.hpp:85
gnsstk::GPSCNavAlm::dumpHarmonics
void dumpHarmonics(std::ostream &s) const override
Definition: GPSCNavAlm.hpp:78
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::GPSCNavAlm::wna
unsigned wna
Reference week for toa.
Definition: GPSCNavAlm.hpp:89
gnsstk::GPSCNavData
Definition: GPSCNavData.hpp:52
gnsstk::GPSCNavAlm::deltai
double deltai
Inclination in rad relative to 0.3*pi rad.
Definition: GPSCNavAlm.hpp:88
gnsstk::GPSCNavAlm::clone
NavDataPtr clone() const override
Create a deep copy of this object.
Definition: GPSCNavAlm.hpp:56
gnsstk::CommonTime
Definition: CommonTime.hpp:84
gnsstk::GPSCNavAlm::validate
bool validate() const override
Definition: GPSCNavAlm.cpp:59
gnsstk::GPSCNavAlm::getUserTime
CommonTime getUserTime() const override
Definition: GPSCNavAlm.cpp:66
GPSCNavData.hpp
gnsstk::GPSCNavAlm
Class containing data elements unique to GPS CNav midi almanac.
Definition: GPSCNavAlm.hpp:50
gnsstk::GPSCNavAlm::fixFit
void fixFit()
Fill the beginFit and endFit values for this object.
Definition: GPSCNavAlm.cpp:75
gnsstk::GPSCNavAlm::GPSCNavAlm
GPSCNavAlm()
Sets the nav message type.
Definition: GPSCNavAlm.cpp:46
gnsstk::GPSCNavAlm::toa
double toa
Convenience storage of unqualified toa.
Definition: GPSCNavAlm.hpp:90


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