NavStatic.cpp
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 //==============================================================================
42 #include "NavMessageType.hpp"
43 #include "NavDataFactory.hpp"
45 #include "RinexNavDataFactory.hpp"
46 #include "SP3NavDataFactory.hpp"
57 #include "YumaNavDataFactory.hpp"
58 #include "SEMNavDataFactory.hpp"
59 
60 namespace gnsstk
61 {
71 
77  {
78  public:
81  {
82  static bool initialized = false;
83  // std::cerr << "starting GNSSTKFormatInitializer() " << this << std::endl;
84  if (initialized)
85  return;
86  // std::cerr << "continuing GNSSTKFormatInitializer() " << this << std::endl;
87  initialized = true;
88  // create our factories
93  ndfp1(std::make_shared<gnsstk::SP3NavDataFactory>());
95  ndfp2(std::make_shared<gnsstk::RinexNavDataFactory>());
96  // ignore the return value
99 
101  ndfp3(std::make_shared<gnsstk::YumaNavDataFactory>());
103  ndfp4(std::make_shared<gnsstk::SEMNavDataFactory>());
106 
108  lnav(std::make_shared<gnsstk::PNBGPSLNavDataFactory>());
110 
112  cnavL2(std::make_shared<gnsstk::PNBGPSCNavDataFactory>());
114 
116  cnavL5(std::make_shared<gnsstk::PNBGPSCNavDataFactory>());
118 
120  cnav2(std::make_shared<gnsstk::PNBGPSCNav2DataFactory>());
122 
124  gali(std::make_shared<gnsstk::PNBGalINavDataFactory>());
126 
128  galf(std::make_shared<gnsstk::PNBGalFNavDataFactory>());
130 
132  bd1(std::make_shared<gnsstk::PNBBDSD1NavDataFactory>());
134 
136  bd2(std::make_shared<gnsstk::PNBBDSD2NavDataFactory>());
138 
140  glof(std::make_shared<gnsstk::PNBGLOFNavDataFactory>());
142 
144  gloc(std::make_shared<gnsstk::PNBGLOCNavDataFactory>());
146  }
147  };
148 
150 }
gnsstk::NavMessageTypeSet
std::set< NavMessageType > NavMessageTypeSet
Set of message types, used by NavLibrary and NavDataFactory.
Definition: NavMessageType.hpp:76
gnsstk::NavMessageType::ISC
@ ISC
Inter-signal corrections.
gnsstk::NavMessageType::Clock
@ Clock
SV Clock offset data. Currently only used by SP3.
gnsstk::PNBNavDataFactoryPtr
std::shared_ptr< PNBNavDataFactory > PNBNavDataFactoryPtr
Managed pointer to a PNBNavDataFactory.
Definition: PNBNavDataFactory.hpp:138
gnsstk::NavType::BeiDou_D1
@ BeiDou_D1
gnsstk::PNBMultiGNSSNavDataFactory::addFactory
static bool addFactory(NavType navType, PNBNavDataFactoryPtr &fact)
Definition: PNBMultiGNSSNavDataFactory.cpp:91
gnsstk::NavType::GalINAV
@ GalINAV
PNBGPSLNavDataFactory.hpp
gnsstk::allNavMessageTypes
const GNSSTK_EXPORT NavMessageTypeSet allNavMessageTypes
Definition: NavStatic.cpp:64
gnsstk::MultiFormatNavDataFactory::addFactory
static bool addFactory(NavDataFactoryPtr &fact)
Definition: MultiFormatNavDataFactory.cpp:417
gnsstk::NavMessageType::Health
@ Health
SV health status information message.
gnsstk::NavType::GloCivilF
@ GloCivilF
NavMessageType.hpp
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::NavType::GPSLNAV
@ GPSLNAV
PNBGLOCNavDataFactory.hpp
gnsstk::NavDataFactoryPtr
std::shared_ptr< NavDataFactory > NavDataFactoryPtr
Managed pointer to NavDataFactory.
Definition: NavDataFactory.hpp:398
PNBGPSCNavDataFactory.hpp
gnsstk::NavType::GloCivilC
@ GloCivilC
PNBGalFNavDataFactory.hpp
MultiFormatNavDataFactory.hpp
gnsstk::NavType::GPSCNAVL2
@ GPSCNAVL2
gnsstk::NavMessageType::Iono
@ Iono
Ionospheric correction data.
PNBGalINavDataFactory.hpp
gnsstk::NavMessageType::TimeOffset
@ TimeOffset
Message containing information about time system offsets.
gnsstk::gnsstkMFNDFI
static GNSSTKFormatInitializer gnsstkMFNDFI
Definition: NavStatic.cpp:149
PNBBDSD1NavDataFactory.hpp
gnsstk::NavMessageType::Ephemeris
@ Ephemeris
Precision orbits for the transmitting SV.
PNBBDSD2NavDataFactory.hpp
PNBMultiGNSSNavDataFactory.hpp
gnsstk::NavType::BeiDou_D2
@ BeiDou_D2
gnsstk::GNSSTKFormatInitializer
Definition: NavStatic.cpp:76
SP3NavDataFactory.hpp
YumaNavDataFactory.hpp
PNBGPSCNav2DataFactory.hpp
SEMNavDataFactory.hpp
gnsstk::GNSSTKFormatInitializer::GNSSTKFormatInitializer
GNSSTKFormatInitializer()
Add gnsstk factories to MultiFormatNavDataFactory.
Definition: NavStatic.cpp:80
NavDataFactory.hpp
gnsstk::NavType::GPSCNAVL5
@ GPSCNAVL5
gnsstk::NavMessageType::Almanac
@ Almanac
Low-precision orbits for other than the transmitting SV.
gnsstk::NavType::GPSCNAV2
@ GPSCNAV2
gnsstk::NavType::GalFNAV
@ GalFNAV
RinexNavDataFactory.hpp
PNBGLOFNavDataFactory.hpp


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