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