3#include <QtCore/QLoggingCategory>
4#include <QtCore/QObject>
5#include <QtCore/QStringList>
6#include <QtCore/QTimer>
7#include <QtQmlIntegration/QtQmlIntegration>
19 Q_MOC_INCLUDE(
"Vehicle.h")
20 Q_MOC_INCLUDE(
"Fact.h")
27 Q_INVOKABLE
Fact *getParameterFact(
int componentId,
const QString &name,
bool reportMissing =
true)
const;
28 Q_INVOKABLE
bool parameterExists(
int componentId,
const QString &name)
const;
32 Q_INVOKABLE
void getMissingParameters(
const QStringList &rgNames);
48 void _checkForMissingParameters();
51 QStringList _missingParameterWaitList;
52 QTimer _missingParametersTimer;
Q_DECLARE_LOGGING_CATEGORY(AndroidSerialLog)
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()
A Fact is used to hold a single value within the system.