InterSigCorr.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_INTERSIGCORR_HPP
40 #define GNSSTK_INTERSIGCORR_HPP
41 
42 #include "NavData.hpp"
43 #include "PackedNavBits.hpp"
44 
45 namespace gnsstk
46 {
48 
49 
106  class InterSigCorr : public NavData
107  {
108  public:
110  InterSigCorr();
111 
116  void dump(std::ostream& s, DumpDetail dl) const override;
117 
121  virtual void dumpCorrections(std::ostream& s) const;
122 
130  virtual bool getISC(const ObsID& oid, double& corrOut)
131  const;
132 
143  virtual bool getISC(const ObsID& oid1, const ObsID& oid2, double& corrOut)
144  const;
145 
153  static double getGPSISC(const PackedNavBitsPtr& navIn, unsigned startBit);
154 
156  bool isSameData(const NavDataPtr& right) const override
157  {
158  Exception exc("Unimplemented function");
159  GNSSTK_THROW(exc);
160  }
162  std::list<std::string> compare(const NavDataPtr& right)
163  const override
164  {
165  Exception exc("Unimplemented function");
166  GNSSTK_THROW(exc);
167  }
168 
171  double isc;
172 
176  std::string iscLabel;
177 
178  protected:
182  std::set<ObsID> refOids;
185  std::set<ObsID> validOids;
186  }; // class InterSigCorr
187 
189 
190 } // namespace gnsstk
191 
192 #endif // GNSSTK_INTERSIGCORR_HPP
gnsstk::NavDataPtr
std::shared_ptr< NavData > NavDataPtr
Factories instantiate these in response to find() requests.
Definition: NavData.hpp:62
gnsstk::InterSigCorr::iscLabel
std::string iscLabel
Definition: InterSigCorr.hpp:176
gnsstk::InterSigCorr::dumpCorrections
virtual void dumpCorrections(std::ostream &s) const
Definition: InterSigCorr.cpp:94
gnsstk::PackedNavBitsPtr
std::shared_ptr< PackedNavBits > PackedNavBitsPtr
Managed pointer for passing PackedNavBits around.
Definition: PackedNavBits.hpp:66
gnsstk::InterSigCorr::InterSigCorr
InterSigCorr()
Set message type to ISC.
Definition: InterSigCorr.cpp:49
gnsstk::InterSigCorr::getISC
virtual bool getISC(const ObsID &oid, double &corrOut) const
Definition: InterSigCorr.cpp:107
gnsstk::NavData
Definition: NavData.hpp:86
example5.oid
oid
Definition: example5.py:29
gnsstk::InterSigCorr::getGPSISC
static double getGPSISC(const PackedNavBitsPtr &navIn, unsigned startBit)
Definition: InterSigCorr.cpp:143
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::InterSigCorr::isSameData
bool isSameData(const NavDataPtr &right) const override
Definition: InterSigCorr.hpp:156
gnsstk::InterSigCorr::isc
double isc
Definition: InterSigCorr.hpp:171
gnsstk::Exception
Definition: Exception.hpp:151
gnsstk::InterSigCorr::validOids
std::set< ObsID > validOids
Definition: InterSigCorr.hpp:185
gnsstk::InterSigCorr::compare
std::list< std::string > compare(const NavDataPtr &right) const override
Definition: InterSigCorr.hpp:162
gnsstk::ObsID
Definition: ObsID.hpp:82
NavData.hpp
gnsstk::InterSigCorr::dump
void dump(std::ostream &s, DumpDetail dl) const override
Definition: InterSigCorr.cpp:58
gnsstk::InterSigCorr::refOids
std::set< ObsID > refOids
Definition: InterSigCorr.hpp:182
PackedNavBits.hpp
gnsstk::InterSigCorr
Definition: InterSigCorr.hpp:106
gnsstk::DumpDetail
DumpDetail
Specify level of detail for dump output.
Definition: DumpDetail.hpp:51
GNSSTK_THROW
#define GNSSTK_THROW(exc)
Definition: Exception.hpp:366


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