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