PNBNavDataFactory.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_PNBNAVDATAFACTORY_HPP
40 #define GNSSTK_PNBNAVDATAFACTORY_HPP
41 
42 #include <memory>
43 #include <map>
44 #include "PackedNavBits.hpp"
45 #include "NavData.hpp"
46 #include "NavValidityType.hpp"
47 #include "FactoryControl.hpp"
48 
49 namespace gnsstk
50 {
52 
53 
62  {
63  public:
67 
73  { navValidity = nvt; }
74 
84  virtual void setTypeFilter(const NavMessageTypeSet& nmts);
85 
97  virtual bool addData(const PackedNavBitsPtr& navIn,
98  NavDataPtrList& navOut,
99  double cadence = -1) = 0;
100 
107  virtual void resetState() = 0;
108 
113  virtual void setControl(const FactoryControl& ctrl)
114  { factControl = ctrl; }
115 
116  protected:
119 
122 
135  }; // class PNBNavDataFactory
136 
138  typedef std::shared_ptr<PNBNavDataFactory> PNBNavDataFactoryPtr;
140  typedef std::map<NavType, PNBNavDataFactoryPtr> PNBNavDataFactoryMap;
141 
143 
144 } // namespace gnsstk
145 
146 #endif // GNSSTK_PNBNAVDATAFACTORY_HPP
gnsstk::NavMessageTypeSet
std::set< NavMessageType > NavMessageTypeSet
Set of message types, used by NavLibrary and NavDataFactory.
Definition: NavMessageType.hpp:76
gnsstk::PNBNavDataFactory::setControl
virtual void setControl(const FactoryControl &ctrl)
Definition: PNBNavDataFactory.hpp:113
gnsstk::PNBNavDataFactory::addData
virtual bool addData(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut, double cadence=-1)=0
gnsstk::PackedNavBitsPtr
std::shared_ptr< PackedNavBits > PackedNavBitsPtr
Managed pointer for passing PackedNavBits around.
Definition: PackedNavBits.hpp:66
gnsstk::PNBNavDataFactoryPtr
std::shared_ptr< PNBNavDataFactory > PNBNavDataFactoryPtr
Managed pointer to a PNBNavDataFactory.
Definition: PNBNavDataFactory.hpp:138
gnsstk::PNBNavDataFactory::setTypeFilter
virtual void setTypeFilter(const NavMessageTypeSet &nmts)
Definition: PNBNavDataFactory.cpp:54
gnsstk::NavDataPtrList
std::list< NavDataPtr > NavDataPtrList
Definition: NavData.hpp:75
gnsstk::PNBNavDataFactory::factControl
FactoryControl factControl
Configuration for the behavior of this factory.
Definition: PNBNavDataFactory.hpp:118
gnsstk::PNBNavDataFactory::processTim
bool processTim
If true, time offset data will be output by addData.
Definition: PNBNavDataFactory.hpp:130
gnsstk::NavValidityType
NavValidityType
Definition: NavValidityType.hpp:53
gnsstk::PNBNavDataFactory::processAlm
bool processAlm
If true, almanac data will be output by addData.
Definition: PNBNavDataFactory.hpp:126
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::PNBNavDataFactory::processISC
bool processISC
If true, inter-signal correction data will be output by addData.
Definition: PNBNavDataFactory.hpp:134
gnsstk::PNBNavDataFactory::resetState
virtual void resetState()=0
gnsstk::PNBNavDataFactory::processEph
bool processEph
If true, ephemeris data will be output by addData.
Definition: PNBNavDataFactory.hpp:124
NavData.hpp
FactoryControl.hpp
gnsstk::FactoryControl
Definition: FactoryControl.hpp:52
NavValidityType.hpp
gnsstk::PNBNavDataFactory::PNBNavDataFactory
PNBNavDataFactory()
Definition: PNBNavDataFactory.cpp:46
gnsstk::PNBNavDataFactory::setValidityFilter
virtual void setValidityFilter(NavValidityType nvt)
Definition: PNBNavDataFactory.hpp:72
gnsstk::PNBNavDataFactoryMap
std::map< NavType, PNBNavDataFactoryPtr > PNBNavDataFactoryMap
Map the navigation message type to a factory for producing that type.
Definition: PNBNavDataFactory.hpp:140
PackedNavBits.hpp
gnsstk::PNBNavDataFactory::processHea
bool processHea
If true, health data will be output by addData.
Definition: PNBNavDataFactory.hpp:128
gnsstk::PNBNavDataFactory::processIono
bool processIono
If true, ionospheric data will be output by addData.
Definition: PNBNavDataFactory.hpp:132
gnsstk::PNBNavDataFactory::navValidity
NavValidityType navValidity
Determines how the factory should filter added data.
Definition: PNBNavDataFactory.hpp:121
gnsstk::PNBNavDataFactory
Definition: PNBNavDataFactory.hpp:61


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