PNBGPSLNavDataFactory.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_PNBGPSLNAVDATAFACTORY_HPP
40 #define GNSSTK_PNBGPSLNAVDATAFACTORY_HPP
41 
42 #include "PNBNavDataFactory.hpp"
43 #include "GPSWeekSecond.hpp"
44 
45 namespace gnsstk
46 {
48 
49 
70  {
71  public:
80  bool addData(const PackedNavBitsPtr& navIn, NavDataPtrList& navOut,
81  double cadence = -1)
82  override;
83 
92  bool processEph(unsigned sfid, const PackedNavBitsPtr& navIn,
93  NavDataPtrList& navOut);
94 
106  bool processAlmOrb(unsigned long prn, const PackedNavBitsPtr& navIn,
107  NavDataPtrList& navOut);
108 
118  bool processSVID51(const PackedNavBitsPtr& navIn, NavDataPtrList& navOut);
119 
126  bool processSVID63(const PackedNavBitsPtr& navIn, NavDataPtrList& navOut);
127 
134  bool processSVID56(const PackedNavBitsPtr& navIn, NavDataPtrList& navOut);
135 
142  void resetState() override;
143 
146  void dumpState(std::ostream& s) const;
147 
148  protected:
151  std::map<unsigned, GPSWeekSecond> fullWNaMap;
156  std::map<NavSatelliteID, NavDataPtrList> almAcc;
159  std::map<NavSatelliteID, std::vector<PackedNavBitsPtr> > ephAcc;
160  };
161 
163 
164 } // namespace gnsstk
165 
166 #endif // GNSSTK_PNBGPSLNAVDATAFACTORY_HPP
gnsstk::PNBGPSLNavDataFactory::processSVID63
bool processSVID63(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
Definition: PNBGPSLNavDataFactory.cpp:596
gnsstk::PNBGPSLNavDataFactory::processAlmOrb
bool processAlmOrb(unsigned long prn, const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
Definition: PNBGPSLNavDataFactory.cpp:371
gnsstk::PackedNavBitsPtr
std::shared_ptr< PackedNavBits > PackedNavBitsPtr
Managed pointer for passing PackedNavBits around.
Definition: PackedNavBits.hpp:66
gnsstk::PNBGPSLNavDataFactory::dumpState
void dumpState(std::ostream &s) const
Definition: PNBGPSLNavDataFactory.cpp:756
gnsstk::NavDataPtrList
std::list< NavDataPtr > NavDataPtrList
Definition: NavData.hpp:75
gnsstk::PNBGPSLNavDataFactory
Definition: PNBGPSLNavDataFactory.hpp:69
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
PNBNavDataFactory.hpp
gnsstk::PNBNavDataFactory::processEph
bool processEph
If true, ephemeris data will be output by addData.
Definition: PNBNavDataFactory.hpp:124
gnsstk::PNBGPSLNavDataFactory::resetState
void resetState() override
Definition: PNBGPSLNavDataFactory.cpp:785
gnsstk::PNBGPSLNavDataFactory::almAcc
std::map< NavSatelliteID, NavDataPtrList > almAcc
Definition: PNBGPSLNavDataFactory.hpp:156
GPSWeekSecond.hpp
gnsstk::PNBGPSLNavDataFactory::ephAcc
std::map< NavSatelliteID, std::vector< PackedNavBitsPtr > > ephAcc
Definition: PNBGPSLNavDataFactory.hpp:159
gnsstk::PNBGPSLNavDataFactory::processSVID51
bool processSVID51(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
Definition: PNBGPSLNavDataFactory.cpp:477
gnsstk::PNBGPSLNavDataFactory::processSVID56
bool processSVID56(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut)
Definition: PNBGPSLNavDataFactory.cpp:671
gnsstk::PNBGPSLNavDataFactory::fullWNaMap
std::map< unsigned, GPSWeekSecond > fullWNaMap
Definition: PNBGPSLNavDataFactory.hpp:151
gnsstk::PNBGPSLNavDataFactory::addData
bool addData(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut, double cadence=-1) override
Definition: PNBGPSLNavDataFactory.cpp:56
gnsstk::PNBNavDataFactory
Definition: PNBNavDataFactory.hpp:61


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