Public Member Functions | List of all members
gnsstk::TimeSystemConverter Class Referenceabstract

Detailed Description

Define an abstract base class for implementing conversions between time systems.

Definition at line 58 of file TimeSystemConverter.hpp.

#include <TimeSystemConverter.hpp>

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

Public Member Functions

virtual bool getOffset (TimeSystem fromSys, TimeSystem toSys, const CommonTime &t, double &offs)=0
 

Member Function Documentation

◆ getOffset()

virtual bool gnsstk::TimeSystemConverter::getOffset ( TimeSystem  fromSys,
TimeSystem  toSys,
const CommonTime t,
double &  offs 
)
pure virtual

Get the offset in seconds between fromSys and toSys.

Parameters
[in]fromSysThe time system to convert from.
[in]toSysThe time system to convert to.
[in]tThe time at which the offset is being requested (i.e. the time being converted).
[out]offsThe resulting offset, if available.
Returns
true if successful, false if unavailable.

Implemented in gnsstk::NavTimeSystemConverter, and gnsstk::BasicTimeSystemConverter.


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


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