0.2.0
Loading...
Searching...
No Matches
SatNavData.hpp
Go to the documentation of this file.
1// This file is part of INSTINCT, the INS Toolkit for Integrated
2// Navigation Concepts and Training by the Institute of Navigation of
3// the University of Stuttgart, Germany.
4//
5// This Source Code Form is subject to the terms of the Mozilla Public
6// License, v. 2.0. If a copy of the MPL was not distributed with this
7// file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
13
14#pragma once
15
16#include <fmt/ostream.h>
17
18#include "Clock.hpp"
19#include "Orbit.hpp"
20
21namespace NAV
22{
23
25class SatNavData : public Clock, public Orbit
26{
27 public:
39
43 explicit SatNavData(Type type, const InsTime& refTime);
44
46 ~SatNavData() override = default;
48 SatNavData(const SatNavData&) = default;
50 SatNavData(SatNavData&&) = default;
52 SatNavData& operator=(const SatNavData&) = delete;
55
57 [[nodiscard]] virtual bool isHealthy() const = 0;
58
60 const Type type;
61
64};
65
66} // namespace NAV
67
68#ifndef DOXYGEN_IGNORE
69
70template<>
71struct fmt::formatter<NAV::SatNavData::Type> : ostream_formatter
72{};
73
74#endif
Abstract satellite clock information.
Abstract satellite orbit information.
Abstract satellite clock information.
Definition Clock.hpp:24
The class is responsible for all time-related tasks.
Definition InsTime.hpp:667
Abstract satellite orbit information.
Definition Orbit.hpp:24
Satellite Navigation data (to calculate SatNavData and clock)
Definition SatNavData.hpp:26
SatNavData(Type type, const InsTime &refTime)
Constructor.
SatNavData & operator=(const SatNavData &)=delete
Copy assignment operator.
virtual bool isHealthy() const =0
Checks whether the signal is healthy.
InsTime refTime
Reference time of the information.
Definition SatNavData.hpp:63
const Type type
Child type (for down-casting)
Definition SatNavData.hpp:60
~SatNavData() override=default
Destructor.
Type
Child type.
Definition SatNavData.hpp:30
@ QZSSEphemeris
QZSS Broadcast Ephemeris.
Definition SatNavData.hpp:35
@ IRNSSEphemeris
IRNSS Broadcast Ephemeris.
Definition SatNavData.hpp:36
@ SBASEphemeris
SBAS Broadcast Ephemeris.
Definition SatNavData.hpp:37
@ GalileoEphemeris
Galileo Broadcast Ephemeris.
Definition SatNavData.hpp:32
@ GLONASSEphemeris
GLONASS Broadcast Ephemeris.
Definition SatNavData.hpp:33
@ GPSEphemeris
GPS Broadcast Ephemeris.
Definition SatNavData.hpp:31
@ BeiDouEphemeris
BeiDou Broadcast Ephemeris.
Definition SatNavData.hpp:34
SatNavData(SatNavData &&)=default
Move constructor.
SatNavData(const SatNavData &)=default
Copy constructor.
SatNavData & operator=(SatNavData &&)=delete
Move assignment operator.