PNBMultiGNSSNavDataFactory.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_PNBMULTIGNSSNAVDATAFACTORY_HPP
40 #define GNSSTK_PNBMULTIGNSSNAVDATAFACTORY_HPP
41 
42 #include "PNBNavDataFactory.hpp"
43 
44 namespace gnsstk
45 {
47 
48 
67  {
68  public:
71 
76  void setValidityFilter(NavValidityType nvt) override;
77 
87  void setTypeFilter(const NavMessageTypeSet& nmts) override;
88 
100  bool addData(const PackedNavBitsPtr& navIn, NavDataPtrList& navOut,
101  double cadence = -1)
102  override;
103 
111  static bool addFactory(NavType navType, PNBNavDataFactoryPtr& fact);
112 
119  void resetState() override;
120 
125  void setControl(const FactoryControl& ctrl) override;
126 
127  protected:
131  static std::shared_ptr<PNBNavDataFactoryMap> factories();
132 
136  std::shared_ptr<PNBNavDataFactoryMap> myFactories;
137  }; // class PNBMultiGNSSNavDataFactory
138 
140 
141 } // namespace gnsstk
142 
143 #endif // GNSSTK_PNBMULTIGNSSNAVDATAFACTORY_HPP
gnsstk::NavMessageTypeSet
std::set< NavMessageType > NavMessageTypeSet
Set of message types, used by NavLibrary and NavDataFactory.
Definition: NavMessageType.hpp:76
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::PNBMultiGNSSNavDataFactory::addFactory
static bool addFactory(NavType navType, PNBNavDataFactoryPtr &fact)
Definition: PNBMultiGNSSNavDataFactory.cpp:91
gnsstk::PNBMultiGNSSNavDataFactory::resetState
void resetState() override
Definition: PNBMultiGNSSNavDataFactory.cpp:109
gnsstk::PNBMultiGNSSNavDataFactory::myFactories
std::shared_ptr< PNBNavDataFactoryMap > myFactories
Definition: PNBMultiGNSSNavDataFactory.hpp:136
gnsstk::NavDataPtrList
std::list< NavDataPtr > NavDataPtrList
Definition: NavData.hpp:75
gnsstk::NavValidityType
NavValidityType
Definition: NavValidityType.hpp:53
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::PNBMultiGNSSNavDataFactory::addData
bool addData(const PackedNavBitsPtr &navIn, NavDataPtrList &navOut, double cadence=-1) override
Definition: PNBMultiGNSSNavDataFactory.cpp:73
PNBNavDataFactory.hpp
gnsstk::FactoryControl
Definition: FactoryControl.hpp:52
gnsstk::PNBMultiGNSSNavDataFactory::PNBMultiGNSSNavDataFactory
PNBMultiGNSSNavDataFactory()
Initialize myFactories.
Definition: PNBMultiGNSSNavDataFactory.cpp:45
gnsstk::PNBMultiGNSSNavDataFactory::factories
static std::shared_ptr< PNBNavDataFactoryMap > factories()
Definition: PNBMultiGNSSNavDataFactory.cpp:119
gnsstk::PNBMultiGNSSNavDataFactory
Definition: PNBMultiGNSSNavDataFactory.hpp:66
gnsstk::PNBMultiGNSSNavDataFactory::setControl
void setControl(const FactoryControl &ctrl) override
Definition: PNBMultiGNSSNavDataFactory.cpp:128
gnsstk::NavType
NavType
Supported navigation types.
Definition: NavType.hpp:58
gnsstk::PNBMultiGNSSNavDataFactory::setTypeFilter
void setTypeFilter(const NavMessageTypeSet &nmts) override
Definition: PNBMultiGNSSNavDataFactory.cpp:63
gnsstk::PNBMultiGNSSNavDataFactory::setValidityFilter
void setValidityFilter(NavValidityType nvt) override
Definition: PNBMultiGNSSNavDataFactory.cpp:53
gnsstk::PNBNavDataFactory
Definition: PNBNavDataFactory.hpp:61


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