SP3Data.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 GNSSTK_SP3DATA_HPP
45 #define GNSSTK_SP3DATA_HPP
46 
47 #include "SP3SatID.hpp"
48 #include "SP3Base.hpp"
49 #include "CommonTime.hpp"
50 #include <iomanip>
51 
52 namespace gnsstk
53 {
55 
56 
96  class SP3Data : public SP3Base
97  {
98  public:
101  clockEventFlag(false), clockPredFlag(false),
102  orbitManeuverFlag(false), orbitPredFlag(false),
103  correlationFlag(false), eventFlag(false)
104  {}
105 
107  virtual ~SP3Data() {}
108 
109  // The next four lines is our common interface
111  virtual bool isData() const {return true;}
112 
114 #pragma clang diagnostic push
115 #pragma clang diagnostic ignored "-Woverloaded-virtual"
116  virtual void dump(std::ostream& s=std::cout, bool includeC=true) const noexcept;
117 #pragma clang diagnostic pop
118 
119  char RecType;
122  double x[3];
123  double clk;
124 
126  int sig[4];
127  bool clockEventFlag;
134  bool correlationFlag;
136  bool eventFlag;
138  unsigned sdev[4];
139  int correlation[6];
141 
142  protected:
143 
149  virtual void reallyPutRecord(FFStream& s) const;
150 
161  virtual void reallyGetRecord(FFStream& s);
162  };
163 
165 
166 } // namespace
167 
168 #endif
gnsstk::SP3Data::x
double x[3]
The three-vector for position | velocity (m | dm/s).
Definition: SP3Data.hpp:122
gnsstk::SP3Data::~SP3Data
virtual ~SP3Data()
Destructor.
Definition: SP3Data.hpp:107
gnsstk::SP3Data::correlation
int correlation[6]
elements of correlation matrix: xy,xz,xc,yz,yc,zc
Definition: SP3Data.hpp:140
gnsstk::FFStream
Definition: FFStream.hpp:119
gnsstk::BEGINNING_OF_TIME
const Epoch BEGINNING_OF_TIME(CommonTime::BEGINNING_OF_TIME)
Earliest representable Epoch.
const
#define const
Definition: getopt.c:43
gnsstk::SP3Data::isData
virtual bool isData() const
SP3Data is "data" so this function always returns true.
Definition: SP3Data.hpp:111
gnsstk::SP3Data::time
CommonTime time
Time of epoch for this record.
Definition: SP3Data.hpp:121
gnsstk::SatID
Definition: SatID.hpp:89
gnsstk::SP3Data::correlationFlag
bool correlationFlag
data for optional P|V Correlation record
Definition: SP3Data.hpp:135
gnsstk::SP3Data::sdev
unsigned sdev[4]
Definition: SP3Data.hpp:138
gnsstk::SP3Data::clockEventFlag
bool clockEventFlag
clock event flag, 'E' in file
Definition: SP3Data.hpp:130
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::SP3Data::RecType
char RecType
Data type indicator. P position, V velocity, * epoch.
Definition: SP3Data.hpp:119
gnsstk::SP3Data::SP3Data
SP3Data()
Constructor.
Definition: SP3Data.hpp:100
gnsstk::SP3Data::reallyGetRecord
virtual void reallyGetRecord(FFStream &s)
Definition: SP3Data.cpp:54
gnsstk::SP3Data::clk
double clk
The clock bias or drift for P|V (microsec|1).
Definition: SP3Data.hpp:123
gnsstk::CommonTime
Definition: CommonTime.hpp:84
gnsstk::SP3Data::sat
SatID sat
Satellite ID.
Definition: SP3Data.hpp:120
gnsstk::SP3Data::orbitPredFlag
bool orbitPredFlag
Definition: SP3Data.hpp:133
gnsstk::SP3Data::clockPredFlag
bool clockPredFlag
clock prediction flag, 'P' in file
Definition: SP3Data.hpp:131
SP3Base.hpp
gnsstk::SP3Data::eventFlag
bool eventFlag
event flag specific to SP3ae, 'E' in file
Definition: SP3Data.hpp:137
CommonTime.hpp
gnsstk::SP3Data::sig
int sig[4]
the rest of the member are for version c only
Definition: SP3Data.hpp:126
gnsstk::SP3Data::reallyPutRecord
virtual void reallyPutRecord(FFStream &s) const
Definition: SP3Data.cpp:324
gnsstk::SP3Data::dump
virtual void dump(std::ostream &s=std::cout, bool includeC=true) const noexcept
Debug output function.
Definition: SP3Data.cpp:413
gnsstk::SP3Data::orbitManeuverFlag
bool orbitManeuverFlag
orbit maneuver flag, 'M' in file
Definition: SP3Data.hpp:132
SP3SatID.hpp
gnsstk::SP3Base
This class is here to make readable inheritance diagrams.
Definition: SP3Base.hpp:55
gnsstk::SP3Data
Definition: SP3Data.hpp:96


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