GLOCNavHeader.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_GLOCNAVHEADER_HPP
40 #define GNSSTK_GLOCNAVHEADER_HPP
41 
42 #include "CommonTime.hpp"
43 #include "SVHealth.hpp"
44 
45 namespace gnsstk
46 {
48 
49 
53  {
54  public:
56  GLOCNavHeader();
57 
62  bool validate() const;
63 
67  void dumpStrOverhead(const std::string& label, std::ostream& s) const;
68 
71  void dumpFlags(std::ostream& s) const;
72 
76  static void dumpOverHeader(std::ostream& s);
77 
79  uint32_t preamble;
80  uint16_t TS;
81 
86  uint8_t svid;
87  bool svUnhealthy;
88  bool dataInvalid;
90  uint8_t P1;
91  bool P2;
92  unsigned KP;
93  bool A;
94  };
95 
97 
98 }
99 
100 #endif // GNSSTK_GLOCNAVHEADER_HPP
gnsstk::GLOCNavHeader::svid
uint8_t svid
Subject SV ID (j).
Definition: GLOCNavHeader.hpp:86
gnsstk::GLOCNavHeader::dumpStrOverhead
void dumpStrOverhead(const std::string &label, std::ostream &s) const
Definition: GLOCNavHeader.cpp:81
gnsstk::GLOCNavHeader::dumpOverHeader
static void dumpOverHeader(std::ostream &s)
Definition: GLOCNavHeader.cpp:72
SVHealth.hpp
gnsstk::GLOCNavHeader::dataInvalid
bool dataInvalid
Data validity flag (lj, false=valid).
Definition: GLOCNavHeader.hpp:88
gnsstk::GLOCNavHeader::preamble
uint32_t preamble
20 bit preamble for the message.
Definition: GLOCNavHeader.hpp:79
gnsstk::GLOCNavHeader::dumpFlags
void dumpFlags(std::ostream &s) const
Definition: GLOCNavHeader.cpp:92
gnsstk::GLOCNavHeader::TS
uint16_t TS
Time stamp (3 second counter for each string).
Definition: GLOCNavHeader.hpp:80
gnsstk::GLOCNavHeader
Definition: GLOCNavHeader.hpp:52
gnsstk::SVHealth
SVHealth
Identify different types of SV health states.
Definition: SVHealth.hpp:52
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::GLOCNavHeader::A
bool A
true=time correction planned (see ICD 4.2.2.10).
Definition: GLOCNavHeader.hpp:93
gnsstk::GLOCNavHeader::validate
bool validate() const
Definition: GLOCNavHeader.cpp:64
gnsstk::GLOCNavHeader::GLOCNavHeader
GLOCNavHeader()
Sets data members to 0.
Definition: GLOCNavHeader.cpp:48
gnsstk::GLOCNavHeader::P1
uint8_t P1
SV call to ground control.
Definition: GLOCNavHeader.hpp:90
gnsstk::CommonTime
Definition: CommonTime.hpp:84
gnsstk::GLOCNavHeader::health
SVHealth health
SV health status.
Definition: GLOCNavHeader.hpp:89
gnsstk::GLOCNavHeader::svUnhealthy
bool svUnhealthy
Health flag (Hj, false=healthy).
Definition: GLOCNavHeader.hpp:87
CommonTime.hpp
gnsstk::GLOCNavHeader::KP
unsigned KP
Leap second indicator (see ICD 4.2.2.9).
Definition: GLOCNavHeader.hpp:92
gnsstk::GLOCNavHeader::xmit
CommonTime xmit
Transmit time of the string.
Definition: GLOCNavHeader.hpp:78
gnsstk::GLOCNavHeader::P2
bool P2
false=sun pointing (see ICD 4.2.2.8).
Definition: GLOCNavHeader.hpp:91


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