GLOFNavHealth.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_GLOFNAVHEALTH_HPP
40 #define GNSSTK_GLOFNAVHEALTH_HPP
41 
42 #include "ValidType.hpp"
43 #include "NavHealthData.hpp"
44 
45 namespace gnsstk
46 {
48 
49 
53  {
54  public:
56  GLOFNavHealth();
58  NavDataPtr clone() const override
59  { return std::make_shared<GLOFNavHealth>(*this); }
60 
65  bool validate() const override;
66 
71  void dump(std::ostream& s, DumpDetail dl) const override;
72 
76  SVHealth getHealth() const override;
77 
78  // We use ValidType to account for the fact that the health
79  // data can be a variety of combinations.
83  };
84 
86 
87 }
88 
89 #endif // GNSSTK_GLOFNAVHEALTH_HPP
gnsstk::NavDataPtr
std::shared_ptr< NavData > NavDataPtr
Factories instantiate these in response to find() requests.
Definition: NavData.hpp:62
gnsstk::ValidType< uint8_t >
NavHealthData.hpp
ValidType.hpp
gnsstk::GLOFNavHealth::Cn
ValidType< bool > Cn
The C_n health bit in strings 6,8,10,12,14.
Definition: GLOFNavHealth.hpp:82
gnsstk::SVHealth
SVHealth
Identify different types of SV health states.
Definition: SVHealth.hpp:52
gnsstk::GLOFNavHealth
Definition: GLOFNavHealth.hpp:52
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::GLOFNavHealth::validate
bool validate() const override
Definition: GLOFNavHealth.cpp:54
gnsstk::GLOFNavHealth::clone
NavDataPtr clone() const override
Create a deep copy of this object.
Definition: GLOFNavHealth.hpp:58
gnsstk::GLOFNavHealth::healthBits
ValidType< uint8_t > healthBits
The 3-bit B_n value.
Definition: GLOFNavHealth.hpp:80
gnsstk::NavHealthData
Definition: NavHealthData.hpp:52
gnsstk::GLOFNavHealth::dump
void dump(std::ostream &s, DumpDetail dl) const override
Definition: GLOFNavHealth.cpp:61
gnsstk::DumpDetail
DumpDetail
Specify level of detail for dump output.
Definition: DumpDetail.hpp:51
gnsstk::GLOFNavHealth::GLOFNavHealth
GLOFNavHealth()
Initialize to unhealthy using a value typically not seen in health.
Definition: GLOFNavHealth.cpp:46
gnsstk::GLOFNavHealth::getHealth
SVHealth getHealth() const override
Definition: GLOFNavHealth.cpp:128
gnsstk::GLOFNavHealth::ln
ValidType< bool > ln
The l_n health bit in strings 3,5,7,9,11,13,15.
Definition: GLOFNavHealth.hpp:81


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