GLOFNavUT1TimeOffset.hpp
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-2022, 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 //==============================================================================
39 #ifndef GNSSTK_GLOFNAVUT1TIMEOFFSET_HPP
40 #define GNSSTK_GLOFNAVUT1TIMEOFFSET_HPP
41 
42 #include "TimeOffsetData.hpp"
43 #include "TimeSystem.hpp"
44 
45 namespace gnsstk
46 {
48 
49 
60  {
61  public:
65  NavDataPtr clone() const override
66  { return std::make_shared<GLOFNavUT1TimeOffset>(*this); }
67 
72  void dump(std::ostream& s, DumpDetail dl) const override;
73 
76  void dumpTerse(std::ostream& s) const;
77 
88  bool getOffset(TimeSystem fromSys, TimeSystem toSys,
89  const CommonTime& when, double& offset)
90  const override;
91 
94  TimeCvtSet getConversions() const override;
95 
100  bool validate() const override;
101 
102 
103  double tauc;
104  double B1;
105  double B2;
106  unsigned KP;
107  unsigned NT;
108  unsigned NA;
109  };
110 
112 
113 }
114 
115 #endif // GNSSTK_GLOFNAVUT1TIMEOFFSET_HPP
gnsstk::NavDataPtr
std::shared_ptr< NavData > NavDataPtr
Factories instantiate these in response to find() requests.
Definition: NavData.hpp:62
TimeSystem.hpp
gnsstk::GLOFNavUT1TimeOffset::dumpTerse
void dumpTerse(std::ostream &s) const
Definition: GLOFNavUT1TimeOffset.cpp:129
gnsstk::GLOFNavUT1TimeOffset::clone
NavDataPtr clone() const override
Create a deep copy of this object.
Definition: GLOFNavUT1TimeOffset.hpp:65
gnsstk::GLOFNavUT1TimeOffset::B1
double B1
Time bias in seconds.
Definition: GLOFNavUT1TimeOffset.hpp:104
gnsstk::GLOFNavUT1TimeOffset
Definition: GLOFNavUT1TimeOffset.hpp:59
gnsstk::GLOFNavUT1TimeOffset::KP
unsigned KP
Leap second indicator.
Definition: GLOFNavUT1TimeOffset.hpp:106
gnsstk::GLOFNavUT1TimeOffset::B2
double B2
Time drift in s/s.
Definition: GLOFNavUT1TimeOffset.hpp:105
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::TimeCvtSet
std::set< TimeCvtKey > TimeCvtSet
Define a unique set of time system conversions.
Definition: TimeOffsetData.hpp:55
gnsstk::GLOFNavUT1TimeOffset::validate
bool validate() const override
Definition: GLOFNavUT1TimeOffset.cpp:181
gnsstk::GLOFNavUT1TimeOffset::GLOFNavUT1TimeOffset
GLOFNavUT1TimeOffset()
Initialize all data to 0.
Definition: GLOFNavUT1TimeOffset.cpp:47
gnsstk::GLOFNavUT1TimeOffset::tauc
double tauc
Non-integer correction between UTC(SU) and GLONASS.
Definition: GLOFNavUT1TimeOffset.hpp:103
gnsstk::TimeOffsetData
Definition: TimeOffsetData.hpp:60
gnsstk::CommonTime
Definition: CommonTime.hpp:84
TimeOffsetData.hpp
gnsstk::TimeSystem
TimeSystem
Definition of various time systems.
Definition: TimeSystem.hpp:51
gnsstk::GLOFNavUT1TimeOffset::dump
void dump(std::ostream &s, DumpDetail dl) const override
Definition: GLOFNavUT1TimeOffset.cpp:59
gnsstk::GLOFNavUT1TimeOffset::NT
unsigned NT
Ephemeris days since leap year.
Definition: GLOFNavUT1TimeOffset.hpp:107
gnsstk::GLOFNavUT1TimeOffset::getConversions
TimeCvtSet getConversions() const override
Definition: GLOFNavUT1TimeOffset.cpp:172
gnsstk::DumpDetail
DumpDetail
Specify level of detail for dump output.
Definition: DumpDetail.hpp:51
gnsstk::GLOFNavUT1TimeOffset::NA
unsigned NA
Almanac days since leap year.
Definition: GLOFNavUT1TimeOffset.hpp:108
gnsstk::GLOFNavUT1TimeOffset::getOffset
bool getOffset(TimeSystem fromSys, TimeSystem toSys, const CommonTime &when, double &offset) const override
Definition: GLOFNavUT1TimeOffset.cpp:149


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