3#include <QtCore/QPointer>
5#include <QtCore/QStringList>
6#include <QtQmlIntegration/QtQmlIntegration>
44 void _factAdded(
int componentId,
Fact* fact);
45 void _parameterReadFailed(
int componentId,
const QString& paramName);
48 void _paramAdded(
const QString& paramName);
49 void _removePending(
const QString& paramName);
51 QPointer<ParameterManager> _parameterManager;
52 QSet<QString> _requestedParams;
53 QSet<QString> _pendingParams;
54 int _addedParamCount = 0;
FactPanelController(QObject *parent=nullptr)
A Fact is used to hold a single value within the system.
QStringList pendingParams() const
int addedParamCount() const
Q_INVOKABLE void requestParameters(const QStringList &names)
void pendingParamsChanged()
Q_INVOKABLE bool parameterReady(const QString &name) const
True when the vehicle has the parameter and it is not waiting for its requested value.
PX4BatteryController(QObject *parent=nullptr)
void addedParamCountChanged()