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
8
10{
11 Q_OBJECT
12
13 Q_PROPERTY(Fact *id READ id CONSTANT)
14
15public:
16 explicit FactGroupWithId(int updateRateMsecs, const QString &metaDataFile, QObject *parent = nullptr, bool ignoreCamelCase = false);
17
18 Fact *id() { return &_idFact; }
19
20protected:
21 Fact _idFact = Fact(0, QStringLiteral("id"), FactMetaData::valueTypeUint32);
22};
FactGroupWithId is a FactGroup which has an id Fact which can be used to identify the group.
Used to group Facts together into an object hierarachy.
Definition FactGroup.h:16
A Fact is used to hold a single value within the system.
Definition Fact.h:17