PNBGPSCNav2DataFactory.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_PNBGPSCNAV2DATAFACTORY_HPP
40 #define GNSSTK_PNBGPSCNAV2DATAFACTORY_HPP
41 
42 #include "PNBNavDataFactory.hpp"
43 #include "GPSWeekSecond.hpp"
44 #include "GPSCNav2ISC.hpp"
45 
46 namespace gnsstk
47 {
49 
50 
61  {
62  public:
71  bool addData(const PackedNavBitsPtr& navIn, NavDataPtrList& navOut,
72  double cadence = -1)
73  override;
74 
80  bool processEph(const PackedNavBitsPtr& navIn, NavDataPtrList& navOut,
81  unsigned offset = 0);
82 
89  bool processSF3(const PackedNavBitsPtr& navIn, NavDataPtrList& navOut,
90  unsigned offset = 0);
91 
98  bool processAlmOrb(const PackedNavBitsPtr& navIn, NavDataPtrList& navOut,
99  unsigned offset = 0);
100 
107  bool processUTCIono(const PackedNavBitsPtr& navIn,
108  NavDataPtrList& navOut, unsigned offset = 0);
109 
116  bool processGGTOEOP(const PackedNavBitsPtr& navIn,
117  NavDataPtrList& navOut, unsigned offset = 0);
118 
123  bool processISC(const PackedNavBitsPtr& navIn, NavDataPtrList& navOut);
124 
126  void resetState() override
127  { iscAcc.clear(); }
128 
131  static CommonTime getSF2Time(const CommonTime& timestamp);
132 
135  static CommonTime getSF3Time(const CommonTime& timestamp);
136 
137  protected:
139  typedef std::shared_ptr<GPSCNav2ISC> GPSCNav2ISCPtr;
140 
142  std::map<NavSatelliteID, GPSCNav2ISCPtr> iscAcc;
143 
153  const NavSatelliteID& nsid);
154  };
155 
157 
158 } // namespace gnsstk
159 
160 #endif // GNSSTK_PNBGPSCNAV2DATAFACTORY_HPP
GPSCNav2ISC.hpp
gnsstk::PackedNavBitsPtr
std::shared_ptr< PackedNavBits > PackedNavBitsPtr
Managed pointer for passing PackedNavBits around.
Definition: PackedNavBits.hpp:66
gnsstk::PNBGPSCNav2DataFactory::processAlmOrb
bool processAlmOrb(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut, unsigned offset=0)
Definition: PNBGPSCNav2DataFactory.cpp:253
gnsstk::PNBGPSCNav2DataFactory::getISCObj
GPSCNav2ISCPtr getISCObj(const PackedNavBitsPtr &navIn, const NavSatelliteID &nsid)
Definition: PNBGPSCNav2DataFactory.cpp:593
gnsstk::NavSatelliteID
Definition: NavSatelliteID.hpp:57
gnsstk::PNBGPSCNav2DataFactory::processSF3
bool processSF3(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut, unsigned offset=0)
Definition: PNBGPSCNav2DataFactory.cpp:229
gnsstk::NavDataPtrList
std::list< NavDataPtr > NavDataPtrList
Definition: NavData.hpp:75
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::PNBGPSCNav2DataFactory
Definition: PNBGPSCNav2DataFactory.hpp:60
gnsstk::PNBNavDataFactory::processISC
bool processISC
If true, inter-signal correction data will be output by addData.
Definition: PNBNavDataFactory.hpp:134
gnsstk::PNBGPSCNav2DataFactory::GPSCNav2ISCPtr
std::shared_ptr< GPSCNav2ISC > GPSCNav2ISCPtr
Quick alias for a shared_ptr to GPSCNav2ISC.
Definition: PNBGPSCNav2DataFactory.hpp:139
PNBNavDataFactory.hpp
gnsstk::PNBNavDataFactory::processEph
bool processEph
If true, ephemeris data will be output by addData.
Definition: PNBNavDataFactory.hpp:124
gnsstk::PNBGPSCNav2DataFactory::resetState
void resetState() override
Reset the state of the data accumulator (for ISCs).
Definition: PNBGPSCNav2DataFactory.hpp:126
gnsstk::CommonTime
Definition: CommonTime.hpp:84
gnsstk::PNBGPSCNav2DataFactory::addData
bool addData(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut, double cadence=-1) override
Definition: PNBGPSCNav2DataFactory.cpp:67
GPSWeekSecond.hpp
gnsstk::PNBGPSCNav2DataFactory::getSF3Time
static CommonTime getSF3Time(const CommonTime &timestamp)
Definition: PNBGPSCNav2DataFactory.cpp:622
gnsstk::PNBGPSCNav2DataFactory::processGGTOEOP
bool processGGTOEOP(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut, unsigned offset=0)
Definition: PNBGPSCNav2DataFactory.cpp:443
gnsstk::PNBGPSCNav2DataFactory::processUTCIono
bool processUTCIono(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut, unsigned offset=0)
Definition: PNBGPSCNav2DataFactory.cpp:373
gnsstk::PNBGPSCNav2DataFactory::iscAcc
std::map< NavSatelliteID, GPSCNav2ISCPtr > iscAcc
Map signal to ISC for accumulating data between SF2 and SF3.
Definition: PNBGPSCNav2DataFactory.hpp:142
gnsstk::PNBGPSCNav2DataFactory::getSF2Time
static CommonTime getSF2Time(const CommonTime &timestamp)
Definition: PNBGPSCNav2DataFactory.cpp:606
gnsstk::PNBNavDataFactory
Definition: PNBNavDataFactory.hpp:61


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