QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
FactGroupWithId.h
Go to the documentation of this file.
1#pragma once
2
3#include "FactGroup.h"
4
7
9{
10 Q_OBJECT
11
12 Q_PROPERTY(Fact *id READ id CONSTANT)
13
14public:
15 explicit FactGroupWithId(int updateRateMsecs, const QString &metaDataFile, QObject *parent = nullptr, bool ignoreCamelCase = false);
16
17 Fact *id() { return &_idFact; }
18
19protected:
20 Fact _idFact = Fact(0, QStringLiteral("id"), FactMetaData::valueTypeUint32);
21};
Used to group Facts together into an object hierarachy.
Definition FactGroup.h:19
A Fact is used to hold a single value within the system.
Definition Fact.h:19