GLOCNavUT1TimeOffset.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_GLOCNAVUT1TIMEOFFSET_HPP
40 #define GNSSTK_GLOCNAVUT1TIMEOFFSET_HPP
41 
42 #include "StdNavTimeOffset.hpp"
43 
44 namespace gnsstk
45 {
47 
48 
59  {
60  public:
64  NavDataPtr clone() const override
65  { return std::make_shared<GLOCNavUT1TimeOffset>(*this); }
66 
71  void dump(std::ostream& s, DumpDetail dl) const override;
72 
75  void dumpTerse(std::ostream& s) const;
76 
87  bool getOffset(TimeSystem fromSys, TimeSystem toSys,
88  const CommonTime& when, double& offset)
89  const override;
90 
93  TimeCvtSet getConversions() const override;
94 
99  bool validate() const override;
100 
102  unsigned NB;
103  double B0;
104  double B1;
105  double B2;
106  double UTCTAI;
107  };
108 
110 
111 }
112 
113 #endif // GNSSTK_GLOCNAVUT1TIMEOFFSET_HPP
gnsstk::NavDataPtr
std::shared_ptr< NavData > NavDataPtr
Factories instantiate these in response to find() requests.
Definition: NavData.hpp:62
gnsstk::GLOCNavUT1TimeOffset
Definition: GLOCNavUT1TimeOffset.hpp:58
gnsstk::GLOCNavUT1TimeOffset::GLOCNavUT1TimeOffset
GLOCNavUT1TimeOffset()
Initialize all data to 0.
Definition: GLOCNavUT1TimeOffset.cpp:47
gnsstk::GLOCNavUT1TimeOffset::B1
double B1
Time drift in s/s.
Definition: GLOCNavUT1TimeOffset.hpp:104
gnsstk::GLOCNavUT1TimeOffset::getConversions
TimeCvtSet getConversions() const override
Definition: GLOCNavUT1TimeOffset.cpp:146
gnsstk::GLOCNavUT1TimeOffset::B0
double B0
Time bias in seconds.
Definition: GLOCNavUT1TimeOffset.hpp:103
gnsstk::GLOCNavUT1TimeOffset::dumpTerse
void dumpTerse(std::ostream &s) const
Definition: GLOCNavUT1TimeOffset.cpp:108
StdNavTimeOffset.hpp
gnsstk::GLOCNavUT1TimeOffset::dump
void dump(std::ostream &s, DumpDetail dl) const override
Definition: GLOCNavUT1TimeOffset.cpp:57
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::GLOCNavUT1TimeOffset::validate
bool validate() const override
Definition: GLOCNavUT1TimeOffset.cpp:155
gnsstk::GLOCNavUT1TimeOffset::B2
double B2
Time drift rate in s/s**2.
Definition: GLOCNavUT1TimeOffset.hpp:105
gnsstk::GLOCNavUT1TimeOffset::NB
unsigned NB
Day since the most recent leap year-aligned 4 years.
Definition: GLOCNavUT1TimeOffset.hpp:102
gnsstk::TimeOffsetData
Definition: TimeOffsetData.hpp:60
gnsstk::CommonTime
Definition: CommonTime.hpp:84
gnsstk::TimeSystem
TimeSystem
Definition of various time systems.
Definition: TimeSystem.hpp:51
gnsstk::GLOCNavUT1TimeOffset::getOffset
bool getOffset(TimeSystem fromSys, TimeSystem toSys, const CommonTime &when, double &offset) const override
Definition: GLOCNavUT1TimeOffset.cpp:124
gnsstk::DumpDetail
DumpDetail
Specify level of detail for dump output.
Definition: DumpDetail.hpp:51
gnsstk::GLOCNavUT1TimeOffset::UTCTAI
double UTCTAI
Leap seconds - not really used.
Definition: GLOCNavUT1TimeOffset.hpp:106
gnsstk::GLOCNavUT1TimeOffset::clone
NavDataPtr clone() const override
Create a deep copy of this object.
Definition: GLOCNavUT1TimeOffset.hpp:64
gnsstk::GLOCNavUT1TimeOffset::refTime
CommonTime refTime
Reference time for computation.
Definition: GLOCNavUT1TimeOffset.hpp:101


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