YumaData.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 // This software was developed by Applied Research Laboratories at the
28 // University of Texas at Austin, under contract to an agency or agencies
29 // within the U.S. Department of Defense. The U.S. Government retains all
30 // rights to use, duplicate, distribute, disclose, or release this software.
31 //
32 // Pursuant to DoD Directive 523024
33 //
34 // DISTRIBUTION STATEMENT A: This software has been approved for public
35 // release, distribution is unlimited.
36 //
37 //==============================================================================
38 
44 #ifndef YUMADATA_HPP
45 #define YUMADATA_HPP
46 
47 #include <vector>
48 #include <list>
49 #include <map>
50 
51 #include "FFStream.hpp"
52 #include "AlmOrbit.hpp"
53 #include "YumaBase.hpp"
54 #include "YumaHeader.hpp"
55 #include "StringUtils.hpp"
56 #include "gnsstk_export.h"
57 
58 namespace gnsstk
59 {
61 
62 
70  class YumaData : public YumaBase
71  {
72  public:
74  YumaData() {}
75 
77  virtual ~YumaData() {}
78 
83  GNSSTK_EXPORT static short nearFullWeek;
84 
85  GNSSTK_EXPORT static const std::string sID; // ID label string
86  GNSSTK_EXPORT static const std::string sHlth; // Satellite Health string
87  GNSSTK_EXPORT static const std::string sEcc; // Eccentricity string
88  GNSSTK_EXPORT static const std::string sTOA;
89  GNSSTK_EXPORT static const std::string sOrbI;
90  GNSSTK_EXPORT static const std::string sRRA;
91  GNSSTK_EXPORT static const std::string sSqrA;
92  GNSSTK_EXPORT static const std::string sRtAs;
93  GNSSTK_EXPORT static const std::string sArgP;
94  GNSSTK_EXPORT static const std::string sMnAn;
95  GNSSTK_EXPORT static const std::string sAf0;
96  GNSSTK_EXPORT static const std::string sAf1;
97  GNSSTK_EXPORT static const std::string sweek;
98 
99 
100  short PRN;
101  short week;
102  short SV_health;
103  double ecc;
104  long Toa;
105  double i_total; //radians
106  double i_offset; // radians from 54 degrees (to match IS-GPS-200)
107  double OMEGAdot; // radians
108  double Ahalf; // m**1/2
109  double OMEGA0; // radians
110  double w; // radians
111  double M0; // radians
112  double AF0; // s
113  double AF1; // s/s
114  long xmit_time;
115 
116 
122  virtual void dump(std::ostream& s) const;
123 
125  virtual bool isData() const {return true;}
126 
131  operator AlmOrbit() const;
132 
133  protected:
140  void reallyPutRecord(FFStream& s) const;
141 
153  virtual void reallyGetRecord(FFStream& s);
154 
158  std::string lineParser(const std::string& line, const std::string& s)
159  const;
160 
161  }; // class YumaData
162 
164 
165 } // namespace
166 
167 #endif
gnsstk::YumaData::sHlth
static const GNSSTK_EXPORT std::string sHlth
Definition: YumaData.hpp:86
gnsstk::YumaBase
Definition: YumaBase.hpp:57
gnsstk::YumaData::xmit_time
long xmit_time
Definition: YumaData.hpp:114
gnsstk::YumaData::sAf0
static const GNSSTK_EXPORT std::string sAf0
Definition: YumaData.hpp:95
gnsstk::YumaData::YumaData
YumaData()
Constructor.
Definition: YumaData.hpp:74
gnsstk::YumaData::sRRA
static const GNSSTK_EXPORT std::string sRRA
Definition: YumaData.hpp:90
gnsstk::FFStream
Definition: FFStream.hpp:119
StringUtils.hpp
gnsstk::YumaData::OMEGAdot
double OMEGAdot
Definition: YumaData.hpp:107
gnsstk::YumaData::sMnAn
static const GNSSTK_EXPORT std::string sMnAn
Definition: YumaData.hpp:94
gnsstk::YumaData::PRN
short PRN
Definition: YumaData.hpp:100
gnsstk::YumaData::sOrbI
static const GNSSTK_EXPORT std::string sOrbI
Definition: YumaData.hpp:89
gnsstk::YumaData::AF0
double AF0
Definition: YumaData.hpp:112
gnsstk::YumaData::i_offset
double i_offset
Definition: YumaData.hpp:106
gnsstk::YumaData::dump
virtual void dump(std::ostream &s) const
Definition: YumaData.cpp:264
gnsstk::YumaData::nearFullWeek
static GNSSTK_EXPORT short nearFullWeek
Definition: YumaData.hpp:83
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::YumaData::lineParser
std::string lineParser(const std::string &line, const std::string &s) const
Definition: YumaData.cpp:154
gnsstk::YumaData::sweek
static const GNSSTK_EXPORT std::string sweek
Definition: YumaData.hpp:97
gnsstk::YumaData::AF1
double AF1
Definition: YumaData.hpp:113
gnsstk::YumaData::reallyPutRecord
void reallyPutRecord(FFStream &s) const
Definition: YumaData.cpp:82
YumaBase.hpp
gnsstk::YumaData::w
double w
Definition: YumaData.hpp:110
gnsstk::YumaData::SV_health
short SV_health
Definition: YumaData.hpp:102
gnsstk::YumaData
Definition: YumaData.hpp:70
gnsstk::YumaData::sRtAs
static const GNSSTK_EXPORT std::string sRtAs
Definition: YumaData.hpp:92
gnsstk::YumaData::week
short week
Definition: YumaData.hpp:101
gnsstk::YumaData::~YumaData
virtual ~YumaData()
Destructor.
Definition: YumaData.hpp:77
gnsstk::YumaData::sEcc
static const GNSSTK_EXPORT std::string sEcc
Definition: YumaData.hpp:87
gnsstk::YumaData::isData
virtual bool isData() const
This class is "data" so this function always returns "true".
Definition: YumaData.hpp:125
gnsstk::YumaData::M0
double M0
Definition: YumaData.hpp:111
gnsstk::YumaData::i_total
double i_total
Definition: YumaData.hpp:105
gnsstk::YumaData::ecc
double ecc
Definition: YumaData.hpp:103
gnsstk::YumaData::Ahalf
double Ahalf
Definition: YumaData.hpp:108
gnsstk::YumaData::sID
static const GNSSTK_EXPORT std::string sID
Definition: YumaData.hpp:85
gnsstk::YumaData::sSqrA
static const GNSSTK_EXPORT std::string sSqrA
Definition: YumaData.hpp:91
YumaHeader.hpp
gnsstk::YumaData::reallyGetRecord
virtual void reallyGetRecord(FFStream &s)
Definition: YumaData.cpp:171
gnsstk::YumaData::sArgP
static const GNSSTK_EXPORT std::string sArgP
Definition: YumaData.hpp:93
gnsstk::YumaData::sTOA
static const GNSSTK_EXPORT std::string sTOA
Definition: YumaData.hpp:88
AlmOrbit.hpp
gnsstk::YumaData::OMEGA0
double OMEGA0
Definition: YumaData.hpp:109
FFStream.hpp
gnsstk::YumaData::Toa
long Toa
Definition: YumaData.hpp:104
gnsstk::YumaData::sAf1
static const GNSSTK_EXPORT std::string sAf1
Definition: YumaData.hpp:96
gnsstk::AlmOrbit
Definition: AlmOrbit.hpp:59


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