QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
APMSubMotorComponentController.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <QtQmlIntegration/QtQmlIntegration>
4
5
#include "
FactPanelController.h
"
6
9
class
APMSubMotorComponentController
:
public
FactPanelController
10
{
11
Q_OBJECT
12
QML_ELEMENT
13
Q_PROPERTY(QString
motorDetectionMessages
READ
motorDetectionMessages
NOTIFY
motorDetectionMessagesChanged
)
14
15
public
:
16
explicit
APMSubMotorComponentController
(QObject *parent =
nullptr
);
17
18
QString
motorDetectionMessages
()
const
{
return
_motorDetectionMessages; };
19
20
signals:
21
void
motorDetectionMessagesChanged
();
22
23
private
slots:
24
void
_handleNewMessages(
int
sysid,
int
componentid,
int
severity,
const
QString &text,
const
QString &description);
25
26
private
:
27
QString _motorDetectionMessages;
28
};
FactPanelController.h
APMSubMotorComponentController
MVC Controller for APMSubMotorComponent.qml.
Definition
APMSubMotorComponentController.h:10
APMSubMotorComponentController::motorDetectionMessagesChanged
void motorDetectionMessagesChanged()
APMSubMotorComponentController::motorDetectionMessages
QString motorDetectionMessages() const
Definition
APMSubMotorComponentController.h:18
FactPanelController
Used for handling missing Facts from C++ code.
Definition
FactPanelController.h:14
src
AutoPilotPlugins
APM
APMSubMotorComponentController.h
Generated by
1.9.8