23#include <QCoreApplication>
25#include <QGeoCoordinate>
26#include <QXmlStreamReader>
28#include "navigation/Aircraft.h"
29#include "units/Distance.h"
30#include "units/Pressure.h"
31#include "units/Speed.h"
32#include "units/Temperature.h"
33#include "weather/Decoder.h"
52 friend QDataStream& operator<<(QDataStream& stream, const
METAR& metar);
53 friend QDataStream& operator>>(QDataStream& stream,
METAR& metar);
69 Q_ENUM(FlightCategory)
87 explicit
METAR(QXmlStreamReader& xml);
116 bool operator==(const
METAR& other) const = default;
214 return m_flightCategory;
238 return m_observationTime;
275 if (m_decoder.isNull())
280 return m_decoder->decodedText(act, time);
323 QGeoCoordinate m_location;
326 QDateTime m_observationTime;
347 QSharedPointer<Weather::Decoder> m_decoder;
354QDataStream& operator<<(QDataStream& outstream,
const METAR& metar);
360QDataStream& operator>>(QDataStream& instream, METAR& metar);
This extremely simple class holds a few numbers that describe an aircraft.
Convenience class for distance computations.
Convenience class for pressure computations.
Convenience class for speed computations.
Convenience class for temperature computations.
WeatherDataProvider, weather service manager.
Conversion between units used in aviation.