Public Member Functions | Public Attributes | List of all members
gnsstk::NavDataFactoryStoreCallback Class Reference

Detailed Description

Standard version of Callback used in conjunction with NavDataFactoryWithStoreFile::loadIntoMap().

Definition at line 52 of file NavDataFactoryStoreCallback.hpp.

#include <NavDataFactoryStoreCallback.hpp>

Inheritance diagram for gnsstk::NavDataFactoryStoreCallback:
Inheritance graph
[legend]

Public Member Functions

 NavDataFactoryStoreCallback (NavDataFactoryWithStore *ndf)
 
 NavDataFactoryStoreCallback (NavDataFactoryWithStore *ndf, NavMessageMap &othNavMap, NavNearMessageMap &othNavNearMap, NavDataFactoryWithStore::OffsetCvtMap &othOfsMap)
 
bool process (const NavDataPtr &navOut) override
 

Public Attributes

NavDataFactoryWithStorefact
 Factory to use to call addNavData. More...
 
NavMessageMapnavMap
 Map in which to store user-order data. More...
 
NavNearMessageMapnavNearMap
 Map in which to store nearest-order data. More...
 
NavDataFactoryWithStore::OffsetCvtMapofsMap
 Map in which to store time offset data. More...
 

Constructor & Destructor Documentation

◆ NavDataFactoryStoreCallback() [1/2]

gnsstk::NavDataFactoryStoreCallback::NavDataFactoryStoreCallback ( NavDataFactoryWithStore ndf)

Initialize the factory pointer. Maps default to internals.

Warning
Because this is a "classic" pointer and not a shared_ptr, care must be taken to ensure that the object isn't deleted before the callback is done with it.

Definition at line 44 of file NavDataFactoryStoreCallback.cpp.

◆ NavDataFactoryStoreCallback() [2/2]

gnsstk::NavDataFactoryStoreCallback::NavDataFactoryStoreCallback ( NavDataFactoryWithStore ndf,
NavMessageMap othNavMap,
NavNearMessageMap othNavNearMap,
NavDataFactoryWithStore::OffsetCvtMap othOfsMap 
)

Initialize the factory pointer with separate data maps.

Warning
Because this is a "classic" pointer and not a shared_ptr, care must be taken to ensure that the object isn't deleted before the callback is done with it.

Definition at line 51 of file NavDataFactoryStoreCallback.cpp.

Member Function Documentation

◆ process()

bool gnsstk::NavDataFactoryStoreCallback::process ( const NavDataPtr navOut)
overridevirtual

Store processed data internally.

Parameters
[in]navOutThe data to process in the callback.
Returns
true if successful.

Reimplemented from gnsstk::NavDataFactoryCallback.

Definition at line 62 of file NavDataFactoryStoreCallback.cpp.

Member Data Documentation

◆ fact

NavDataFactoryWithStore* gnsstk::NavDataFactoryStoreCallback::fact

Factory to use to call addNavData.

Definition at line 71 of file NavDataFactoryStoreCallback.hpp.

◆ navMap

NavMessageMap& gnsstk::NavDataFactoryStoreCallback::navMap

Map in which to store user-order data.

Definition at line 73 of file NavDataFactoryStoreCallback.hpp.

◆ navNearMap

NavNearMessageMap& gnsstk::NavDataFactoryStoreCallback::navNearMap

Map in which to store nearest-order data.

Definition at line 75 of file NavDataFactoryStoreCallback.hpp.

◆ ofsMap

NavDataFactoryWithStore::OffsetCvtMap& gnsstk::NavDataFactoryStoreCallback::ofsMap

Map in which to store time offset data.

Definition at line 77 of file NavDataFactoryStoreCallback.hpp.


The documentation for this class was generated from the following files:


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