Define a class for doing time system conversions using navigation messages provided by a NavLibrary object.
Example use:
Definition at line 87 of file NavTimeSystemConverter.hpp.
#include <NavTimeSystemConverter.hpp>
Public Member Functions | |
bool | getOffset (TimeSystem fromSys, TimeSystem toSys, const CommonTime &t, double &offs) override |
Public Attributes | |
std::shared_ptr< NavLibrary > | navLib |
Pointer to the nav library from which we will get time offset data. More... | |
|
overridevirtual |
Get the offset in seconds between fromSys and toSys.
[in] | fromSys | The time system to convert from. |
[in] | toSys | The time system to convert to. |
[in] | t | The time at which the offset is being requested (i.e. the time being converted). |
[out] | offs | The resulting offset, if available. |
Implements gnsstk::TimeSystemConverter.
Definition at line 46 of file NavTimeSystemConverter.cpp.
std::shared_ptr<NavLibrary> gnsstk::NavTimeSystemConverter::navLib |
Pointer to the nav library from which we will get time offset data.
Definition at line 102 of file NavTimeSystemConverter.hpp.