6 , _factGroupNamePrefix(factGroupNamePrefix)
34 const int currentId = currentGroup->id()->rawValue().toInt();
37 }
else if (
currentId ==
static_cast<int>(
id)) {
struct __mavlink_message mavlink_message_t
FactGroupListModel(const char *factGroupNamePrefix, QObject *parent=nullptr)
virtual bool _shouldHandleMessage(const mavlink_message_t &message, QList< uint32_t > &ids) const =0
FactGroupWithId * _findOrAddFactGroupById(Vehicle *vehicle, uint32_t id)
virtual FactGroupWithId * _createFactGroupWithId(uint32_t id)=0
QString _factGroupNameWithId(uint32_t id) const
void handleMessageForFactGroupCreation(Vehicle *vehicle, const mavlink_message_t &message)
Allows for creation/updating of dynamic FactGroups based on incoming messages.
const char * _factGroupNamePrefix
void _addFactGroup(FactGroup *factGroup, const QString &name)
QModelIndex index(int row, int column=0, const QModelIndex &parent=QModelIndex()) const override
int count() const override final
void insert(int index, QObject *object)