NavDataFactoryStoreCallback.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-2021, 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 //==============================================================================
40 
41 namespace gnsstk
42 {
45  : fact(ndf), navMap(ndf->data), navNearMap(ndf->nearestData),
46  ofsMap(ndf->offsetData)
47  {}
48 
49 
53  NavMessageMap& othNavMap,
54  NavNearMessageMap& othNavNearMap,
56  : fact(ndf), navMap(othNavMap), navNearMap(othNavNearMap),
57  ofsMap(othOfsMap)
58  {}
59 
60 
62  process(const NavDataPtr& navOut)
63  {
64  return fact->addNavData(navOut, navMap, navNearMap, ofsMap);
65  }
66 }
gnsstk::NavDataPtr
std::shared_ptr< NavData > NavDataPtr
Factories instantiate these in response to find() requests.
Definition: NavData.hpp:62
gnsstk::NavDataFactoryWithStore::addNavData
bool addNavData(const NavDataPtr &nd)
Definition: NavDataFactoryWithStore.hpp:149
gnsstk::NavDataFactoryWithStore::OffsetCvtMap
std::map< TimeCvtKey, OffsetEpochMap > OffsetCvtMap
Map from the time system conversion pair to the conversion objects.
Definition: NavDataFactoryWithStore.hpp:74
gnsstk::NavMessageMap
std::map< NavMessageType, NavSatMap > NavMessageMap
Map nav message type to the rest of the storage.
Definition: NavData.hpp:71
NavDataFactoryStoreCallback.hpp
gnsstk::NavDataFactoryStoreCallback::navMap
NavMessageMap & navMap
Map in which to store user-order data.
Definition: NavDataFactoryStoreCallback.hpp:73
gnsstk::NavDataFactoryStoreCallback::fact
NavDataFactoryWithStore * fact
Factory to use to call addNavData.
Definition: NavDataFactoryStoreCallback.hpp:71
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::NavDataFactoryStoreCallback::ofsMap
NavDataFactoryWithStore::OffsetCvtMap & ofsMap
Map in which to store time offset data.
Definition: NavDataFactoryStoreCallback.hpp:77
gnsstk::NavDataFactoryStoreCallback::process
bool process(const NavDataPtr &navOut) override
Definition: NavDataFactoryStoreCallback.cpp:62
gnsstk::NavDataFactoryStoreCallback::NavDataFactoryStoreCallback
NavDataFactoryStoreCallback(NavDataFactoryWithStore *ndf)
Definition: NavDataFactoryStoreCallback.cpp:44
example3.data
data
Definition: example3.py:22
gnsstk::NavDataFactoryStoreCallback::navNearMap
NavNearMessageMap & navNearMap
Map in which to store nearest-order data.
Definition: NavDataFactoryStoreCallback.hpp:75
gnsstk::NavNearMessageMap
std::map< NavMessageType, NavNearSatMap > NavNearMessageMap
Map nav message type to the rest of the storage.
Definition: NavData.hpp:81
gnsstk::NavDataFactoryWithStore
Definition: NavDataFactoryWithStore.hpp:63


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