3#include <QtCore/QObject>
4#include <QtCore/QPointer>
5#include <QtCore/QStringList>
6#include <QtCore/QTimer>
7#include <QtQmlIntegration/QtQmlIntegration>
19 Q_MOC_INCLUDE(
"Vehicle.h")
20 Q_MOC_INCLUDE(
"Fact.h")
31 Q_INVOKABLE
Fact *
getParameterFact(
int componentId,
const QString &name,
bool reportMissing =
true)
const;
32 Q_INVOKABLE
bool parameterExists(
int componentId,
const QString &name)
const;
57 void _checkForMissingParameters();
60 QStringList _missingParameterWaitList;
61 QTimer _missingParametersTimer;
62 QPointer<ParameterManager> _rebootMessageSuppressedBy;
bool _allParametersExists(int componentId, const QStringList &names) const
void _reportMissingParameter(int componentId, const QString &name) const
Report a missing parameter.
void missingParametersAvailable()
Q_INVOKABLE Fact * getParameterFact(int componentId, const QString &name, bool reportMissing=true) const
Q_INVOKABLE void getMissingParameters(const QStringList &rgNames)
virtual ~FactPanelController()
FactPanelController(QObject *parent=nullptr)
void setSuppressRebootMessage(bool suppress)
void suppressRebootMessageChanged()
Q_INVOKABLE bool parameterExists(int componentId, const QString &name) const
bool suppressRebootMessage() const
A Fact is used to hold a single value within the system.