PNBGPSCNavDataFactory.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_PNBGPSCNAVDATAFACTORY_HPP
40 #define GNSSTK_PNBGPSCNAVDATAFACTORY_HPP
41 
42 #include "PNBNavDataFactory.hpp"
43 #include "GPSWeekSecond.hpp"
44 
45 namespace gnsstk
46 {
48 
49 
66  {
67  public:
76  bool addData(const PackedNavBitsPtr& navIn, NavDataPtrList& navOut,
77  double cadence = -1)
78  override;
79 
88  bool processEph(unsigned msgType, const PackedNavBitsPtr& navIn,
89  NavDataPtrList& navOut);
90 
97  bool processAlmOrb(unsigned msgType, const PackedNavBitsPtr& navIn,
98  NavDataPtrList& navOut);
99 
108  bool process12(unsigned msgType, const PackedNavBitsPtr& navIn,
109  NavDataPtrList& navOut);
110 
117  bool process30(const PackedNavBitsPtr& navIn, NavDataPtrList& navOut);
118 
127  bool process31(unsigned msgType, const PackedNavBitsPtr& navIn,
128  NavDataPtrList& navOut);
129 
149  bool processRedAlmOrb(unsigned msgType, unsigned offset, unsigned pre,
150  bool alert, unsigned wna, double toa,
151  const PackedNavBitsPtr& navIn,
152  NavDataPtrList& navOut);
153 
159  bool process33(const PackedNavBitsPtr& navIn, NavDataPtrList& navOut);
160 
166  bool process35(const PackedNavBitsPtr& navIn, NavDataPtrList& navOut);
167 
172  void resetState() override
173  { ephAcc.clear(); }
174 
177  void dumpState(std::ostream& s) const;
178 
179  protected:
182  std::map<unsigned, std::vector<PackedNavBitsPtr> > ephAcc;
183  };
184 
186 
187 } // namespace gnsstk
188 
189 #endif // GNSSTK_PNBGPSCNAVDATAFACTORY_HPP
gnsstk::PNBGPSCNavDataFactory::processRedAlmOrb
bool processRedAlmOrb(unsigned msgType, unsigned offset, unsigned pre, bool alert, unsigned wna, double toa, const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
Definition: PNBGPSCNavDataFactory.cpp:646
gnsstk::PackedNavBitsPtr
std::shared_ptr< PackedNavBits > PackedNavBitsPtr
Managed pointer for passing PackedNavBits around.
Definition: PackedNavBits.hpp:66
gnsstk::PNBGPSCNavDataFactory
Definition: PNBGPSCNavDataFactory.hpp:65
gnsstk::NavDataPtrList
std::list< NavDataPtr > NavDataPtrList
Definition: NavData.hpp:75
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::PNBGPSCNavDataFactory::processAlmOrb
bool processAlmOrb(unsigned msgType, const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
Definition: PNBGPSCNavDataFactory.cpp:391
gnsstk::PNBGPSCNavDataFactory::resetState
void resetState() override
Definition: PNBGPSCNavDataFactory.hpp:172
PNBNavDataFactory.hpp
gnsstk::PNBNavDataFactory::processEph
bool processEph
If true, ephemeris data will be output by addData.
Definition: PNBNavDataFactory.hpp:124
gnsstk::PNBGPSCNavDataFactory::process35
bool process35(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
Definition: PNBGPSCNavDataFactory.cpp:839
gnsstk::PNBGPSCNavDataFactory::ephAcc
std::map< unsigned, std::vector< PackedNavBitsPtr > > ephAcc
Definition: PNBGPSCNavDataFactory.hpp:182
gnsstk::PNBGPSCNavDataFactory::dumpState
void dumpState(std::ostream &s) const
Definition: PNBGPSCNavDataFactory.cpp:895
gnsstk::PNBGPSCNavDataFactory::process30
bool process30(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
Definition: PNBGPSCNavDataFactory.cpp:578
GPSWeekSecond.hpp
gnsstk::PNBGPSCNavDataFactory::addData
bool addData(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut, double cadence=-1) override
Definition: PNBGPSCNavDataFactory.cpp:57
gnsstk::PNBGPSCNavDataFactory::process33
bool process33(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
Definition: PNBGPSCNavDataFactory.cpp:799
gnsstk::PNBGPSCNavDataFactory::process31
bool process31(unsigned msgType, const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
Definition: PNBGPSCNavDataFactory.cpp:630
gnsstk::PNBGPSCNavDataFactory::process12
bool process12(unsigned msgType, const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
Definition: PNBGPSCNavDataFactory.cpp:559
gnsstk::PNBNavDataFactory
Definition: PNBNavDataFactory.hpp:61


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