PNBNavDataFactory.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 //==============================================================================
39 #include "PNBNavDataFactory.hpp"
40 
41 using namespace std;
42 
43 namespace gnsstk
44 {
45  PNBNavDataFactory ::
46  PNBNavDataFactory()
47  : navValidity(NavValidityType::Any)
48  {
50  }
51 
52 
55  {
56  // We use boolean values instead of a set so that we're not
57  // checking a set every time a new subframe is added.
59  processAlm = (nmts.count(gnsstk::NavMessageType::Almanac) > 0);
60  processHea = (nmts.count(gnsstk::NavMessageType::Health) > 0);
62  processIono= (nmts.count(gnsstk::NavMessageType::Iono) > 0);
63  processISC = (nmts.count(gnsstk::NavMessageType::ISC) > 0);
64  }
65 
66 }
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::PNBNavDataFactory::setTypeFilter
virtual void setTypeFilter(const NavMessageTypeSet &nmts)
Definition: PNBNavDataFactory.cpp:54
gnsstk::allNavMessageTypes
const GNSSTK_EXPORT NavMessageTypeSet allNavMessageTypes
Definition: NavStatic.cpp:64
gnsstk::CarrierBand::Any
@ Any
Used to match any carrier band.
gnsstk::NavMessageType::Health
@ Health
SV health status information message.
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
PNBNavDataFactory.hpp
gnsstk::PNBNavDataFactory::processEph
bool processEph
If true, ephemeris data will be output by addData.
Definition: PNBNavDataFactory.hpp:124
gnsstk::NavMessageType::Iono
@ Iono
Ionospheric correction data.
gnsstk::NavMessageType::TimeOffset
@ TimeOffset
Message containing information about time system offsets.
gnsstk::PNBNavDataFactory::processHea
bool processHea
If true, health data will be output by addData.
Definition: PNBNavDataFactory.hpp:128
std
Definition: Angle.hpp:142
gnsstk::NavMessageType::Ephemeris
@ Ephemeris
Precision orbits for the transmitting SV.
gnsstk::NavMessageType::Almanac
@ Almanac
Low-precision orbits for other than the transmitting SV.
gnsstk::PNBNavDataFactory::processIono
bool processIono
If true, ionospheric data will be output by addData.
Definition: PNBNavDataFactory.hpp:132


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