3#include <QtCore/QObject>
4#include <QtCore/QStringList>
5#include <QtCore/QTimer>
6#include <QtQmlIntegration/QtQmlIntegration>
17 Q_MOC_INCLUDE(
"Vehicle.h")
18 Q_MOC_INCLUDE(
"Fact.h")
25 Q_INVOKABLE
Fact *
getParameterFact(
int componentId,
const QString &name,
bool reportMissing =
true)
const;
26 Q_INVOKABLE
bool parameterExists(
int componentId,
const QString &name)
const;
46 void _checkForMissingParameters();
49 QStringList _missingParameterWaitList;
50 QTimer _missingParametersTimer;
Used for handling missing Facts from C++ code.
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()
Q_INVOKABLE bool parameterExists(int componentId, const QString &name) const
A Fact is used to hold a single value within the system.