QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
ActuatorComponent.h
Go to the documentation of this file.
1#pragma once
2
3#include "VehicleComponent.h"
4
5class Actuators;
6
8{
9 Q_OBJECT
10
11public:
12 ActuatorComponent(Vehicle* vehicle, AutoPilotPlugin* autopilot, QObject* parent = nullptr);
13
14 // Virtuals from VehicleComponent
15 QStringList setupCompleteChangedTriggerList(void) const final;
16
17 // Virtuals from VehicleComponent
18 QString name(void) const final;
19 QString description(void) const final;
20 QString iconResource(void) const final;
21 bool requiresSetup(void) const final;
22
23 int setupOrder(void) const final { return 4; }
24 bool setupComplete(void) const final;
25 virtual QUrl setupSource(void) const;
26 QUrl summaryQmlSource(void) const final;
27 QList<VehicleSummaryItem> summaryItems() const final;
28
29private:
30 const QString _name;
31 Actuators& _actuators;
32};
QUrl summaryQmlSource(void) const final
int setupOrder(void) const final
virtual QUrl setupSource(void) const
QString description(void) const final
ActuatorComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent=nullptr)
QList< VehicleSummaryItem > summaryItems() const final
Values for this component's card on the Summary page. A component with none falls back to summaryQmlS...
QString name(void) const final
QStringList setupCompleteChangedTriggerList(void) const final
bool setupComplete(void) const final
QString iconResource(void) const final
bool requiresSetup(void) const final
The AutoPilotPlugin class is an abstract base class which represents the methods and objects which ar...
VehicleComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, AutoPilotPlugin::KnownVehicleComponent KnownVehicleComponent, QObject *parent=nullptr)