Define an abstract base class for implementing conversions between time systems.
Definition at line 58 of file TimeSystemConverter.hpp.
#include <TimeSystemConverter.hpp>
Public Member Functions | |
virtual bool | getOffset (TimeSystem fromSys, TimeSystem toSys, const CommonTime &t, double &offs)=0 |
|
pure virtual |
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. |
Implemented in gnsstk::NavTimeSystemConverter, and gnsstk::BasicTimeSystemConverter.