3#include <QtCore/QObject>
4#include <QtCore/QString>
5#include <QtCore/QLoggingCategory>
6#include <QtQmlIntegration/QtQmlIntegration>
34 quint32 id()
const {
return _message.msgid; }
35 quint8 sysId()
const {
return _message.sysid; }
36 quint8 compId()
const {
return _message.compid; }
37 QString name()
const {
return _name; }
38 qreal actualRateHz()
const {
return _actualRateHz; }
39 int32_t targetRateHz()
const {
return _targetRateHz; }
41 quint64 lastCount()
const {
return _lastCount; }
43 bool fieldSelected()
const {
return _fieldSelected; }
44 bool selected()
const {
return _selected; }
46 void updateFieldSelection();
49 void setSelected(
bool sel);
50 void setTargetRateHz(
int32_t rate);
65 qreal _actualRateHz = 0.0;
69 bool _fieldSelected =
false;
70 bool _selected =
false;
Q_DECLARE_LOGGING_CATEGORY(AndroidSerialLog)
struct __mavlink_message mavlink_message_t
int count READ count NOTIFY countChanged(bool dirty READ dirty WRITE setDirty NOTIFY dirtyChanged) bool dirty() const
QModelIndex index(int row, int column=0, const QModelIndex &parent=QModelIndex()) const override
QModelIndex parent(const QModelIndex &child) const override
void targetRateHzChanged()
void actualRateHzChanged()
void fieldSelectedChanged()
int count() const override final