BDSD1NavAlm.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_BDSD1NAVALM_HPP
40 #define GNSSTK_BDSD1NAVALM_HPP
41 
42 #include "BDSD1NavData.hpp"
43 
44 namespace gnsstk
45 {
47 
48 
50  class BDSD1NavAlm : public BDSD1NavData
51  {
52  public:
54  BDSD1NavAlm();
56  NavDataPtr clone() const override
57  { return std::make_shared<BDSD1NavAlm>(*this); }
58 
64  bool validate() const override;
65 
68  void dumpHarmonics(std::ostream& s) const override
69  {}
70 
72  void fixFit();
73 
76  void dumpSVStatus(std::ostream& s) const override;
77 
78  uint8_t pnum;
79  double deltai;
80  double toa;
81  uint16_t healthBits;
82  bool isDefault;
83  };
84 
86 
87 }
88 
89 #endif // GNSSTK_BDSD1NAVALM_HPP
gnsstk::NavDataPtr
std::shared_ptr< NavData > NavDataPtr
Factories instantiate these in response to find() requests.
Definition: NavData.hpp:62
gnsstk::BDSD1NavAlm::isDefault
bool isDefault
True if the source page was all 0s for orbit.
Definition: BDSD1NavAlm.hpp:82
gnsstk::BDSD1NavAlm::clone
NavDataPtr clone() const override
Create a deep copy of this object.
Definition: BDSD1NavAlm.hpp:56
gnsstk::BDSD1NavAlm::fixFit
void fixFit()
Fill the beginFit and endFit values for this object.
Definition: BDSD1NavAlm.cpp:67
gnsstk::BDSD1NavAlm::deltai
double deltai
Inclination in rad relative to 0.3*pi rad.
Definition: BDSD1NavAlm.hpp:79
gnsstk::BDSD1NavAlm
Class containing data elements unique to BeiDou D1 almanac pages.
Definition: BDSD1NavAlm.hpp:50
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
BDSD1NavData.hpp
gnsstk::BDSD1NavAlm::BDSD1NavAlm
BDSD1NavAlm()
Sets the nav message type.
Definition: BDSD1NavAlm.cpp:47
gnsstk::BDSD1NavAlm::dumpHarmonics
void dumpHarmonics(std::ostream &s) const override
Definition: BDSD1NavAlm.hpp:68
gnsstk::BDSD1NavData
Definition: BDSD1NavData.hpp:55
gnsstk::BDSD1NavAlm::validate
bool validate() const override
Definition: BDSD1NavAlm.cpp:60
gnsstk::BDSD1NavAlm::pnum
uint8_t pnum
Almanac page number.
Definition: BDSD1NavAlm.hpp:78
gnsstk::BDSD1NavAlm::healthBits
uint16_t healthBits
9 bits of health from sf5,pg7/8.
Definition: BDSD1NavAlm.hpp:81
gnsstk::BDSD1NavAlm::toa
double toa
Convenience storage of unqualified toa.
Definition: BDSD1NavAlm.hpp:80
gnsstk::BDSD1NavAlm::dumpSVStatus
void dumpSVStatus(std::ostream &s) const override
Definition: BDSD1NavAlm.cpp:76


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