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
5
#include "
GPSReceiverDescriptor.h
"
6
#include "
GPSReceiverReports.h
"
7
#include "
RTCMMessageCount.h
"
8
9
// QGCGPSCore builds without QML, so its value types are registered here.
10
11
struct
GPSReceiverPresentationQmlType
12
{
13
Q_GADGET
14
QML_FOREIGN(
GPSReceiverPresentation
)
15
QML_VALUE_TYPE(
gpsReceiverPresentation
)
16
QML_STRUCTURED_VALUE
17
};
18
19
struct
RTCMMessageCountQmlType
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.
28
namespace
GPSFixQualityForeign
{
29
Q_NAMESPACE
30
QML_NAMED_ELEMENT(
GPSFixQuality
)
31
QML_FOREIGN_NAMESPACE(
GPSFixQualities
)
32
}
// namespace GPSFixQualityForeign
gpsReceiverPresentation
const GPSReceiverPresentation & gpsReceiverPresentation(int manufacturer)
Definition
GPSReceiverDescriptor.cc:207
GPSReceiverDescriptor.h
GPSReceiverReports.h
RTCMMessageCount.h
GPSFixQualities
Definition
GPSReceiverReports.h:13
GPSFixQualities::GPSFixQuality
GPSFixQuality
Definition
GPSReceiverReports.h:17
GPSFixQualityForeign
Definition
GPSQmlTypes.h:28
GPSReceiverPresentationQmlType
Definition
GPSQmlTypes.h:12
GPSReceiverPresentation
Definition
GPSReceiverDescriptor.h:83
RTCMMessageCountQmlType
Definition
GPSQmlTypes.h:20
RTCMMessageCount
Frames received with one RTCM message ID; ID 0 counts unidentified frames.
Definition
RTCMMessageCount.h:7
src
GPS
Qml
GPSQmlTypes.h
Generated by
1.9.8