QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GPSQmlTypes.h
Go to the documentation of this file.
1#pragma once
2
3#include <QtQmlIntegration/QtQmlIntegration>
4
7#include "RTCMMessageCount.h"
8
9// QGCGPSCore builds without QML, so its value types are registered here.
10
12{
13 Q_GADGET
14 QML_FOREIGN(GPSReceiverPresentation)
15 QML_VALUE_TYPE(gpsReceiverPresentation)
16 QML_STRUCTURED_VALUE
17};
18
20{
21 Q_GADGET
22 QML_FOREIGN(RTCMMessageCount)
23 QML_VALUE_TYPE(rtcmMessageCount)
24 QML_STRUCTURED_VALUE
25};
26
27// Registers GPSFixQuality's values as a namespace, so QML names fix types instead of numbers.
29Q_NAMESPACE
30QML_NAMED_ELEMENT(GPSFixQuality)
31QML_FOREIGN_NAMESPACE(GPSFixQualities)
32} // namespace GPSFixQualityForeign
const GPSReceiverPresentation & gpsReceiverPresentation(int manufacturer)
Frames received with one RTCM message ID; ID 0 counts unidentified frames.