MVC Controller for APMAirframeComponent.qml. More...
#include <APMAirframeComponentController.h>
Public Member Functions | |
| APMAirframeComponentController (QObject *parent=nullptr) | |
| ~APMAirframeComponentController () | |
| Q_INVOKABLE void | loadParameters (const QString ¶mFile) |
| Public Member Functions inherited from FactPanelController | |
| FactPanelController (QObject *parent=nullptr) | |
| virtual | ~FactPanelController () |
| Q_INVOKABLE Fact * | getParameterFact (int componentId, const QString &name, bool reportMissing=true) const |
| Q_INVOKABLE bool | parameterExists (int componentId, const QString &name) const |
| Q_INVOKABLE void | getMissingParameters (const QStringList &rgNames) |
| bool | suppressRebootMessage () const |
| void | setSuppressRebootMessage (bool suppress) |
Additional Inherited Members | |
| Signals inherited from FactPanelController | |
| void | missingParametersAvailable () |
| void | suppressRebootMessageChanged () |
| Protected Member Functions inherited from FactPanelController | |
| bool | _allParametersExists (int componentId, const QStringList &names) const |
| void | _reportMissingParameter (int componentId, const QString &name) const |
| Report a missing parameter. | |
| Protected Attributes inherited from FactPanelController | |
| Vehicle * | _vehicle = nullptr |
MVC Controller for APMAirframeComponent.qml.
Definition at line 15 of file APMAirframeComponentController.h.
|
explicit |
Definition at line 22 of file APMAirframeComponentController.cc.
References APMAirframeComponentController(), FactPanelController::FactPanelController(), and FactPanelController::getParameterFact().
Referenced by APMAirframeComponentController().
| APMAirframeComponentController::~APMAirframeComponentController | ( | ) |
Definition at line 33 of file APMAirframeComponentController.cc.
| void APMAirframeComponentController::loadParameters | ( | const QString & | paramFile | ) |
Definition at line 98 of file APMAirframeComponentController.cc.
References QGCFileDownload::errorString(), QGCFileDownload::finished(), QGC::showAppMessage(), and QGCFileDownload::start().