QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCMAVLinkSystem Class Reference

#include <MAVLinkSystem.h>

+ Inheritance diagram for QGCMAVLinkSystem:
+ Collaboration diagram for QGCMAVLinkSystem:

Signals

void compIDsChanged ()
 
void selectedChanged ()
 

Public Member Functions

 QGCMAVLinkSystem (quint8 id, QObject *parent=nullptr)
 
 ~QGCMAVLinkSystem ()
 
quint8 id () const
 
QmlObjectListModelmessages () const
 
QList< int > compIDs () const
 
QStringList compIDsStr () const
 
int selected () const
 
void setSelected (int sel)
 
QGCMAVLinkMessagefindMessage (uint32_t id, uint8_t compId, const QString &instanceValue=QString())
 
int findMessage (const QGCMAVLinkMessage *message)
 
void append (QGCMAVLinkMessage *message)
 
QGCMAVLinkMessageselectedMsg ()
 

Detailed Description

Definition at line 10 of file MAVLinkSystem.h.

Constructor & Destructor Documentation

◆ QGCMAVLinkSystem()

QGCMAVLinkSystem::QGCMAVLinkSystem ( quint8  id,
QObject *  parent = nullptr 
)

Definition at line 11 of file MAVLinkSystem.cc.

◆ ~QGCMAVLinkSystem()

QGCMAVLinkSystem::~QGCMAVLinkSystem ( )

Definition at line 19 of file MAVLinkSystem.cc.

References QmlObjectListModel::clearAndDeleteContents().

Member Function Documentation

◆ append()

◆ compIDs()

QList< int > QGCMAVLinkSystem::compIDs ( ) const
inline

Definition at line 26 of file MAVLinkSystem.h.

◆ compIDsChanged

void QGCMAVLinkSystem::compIDsChanged ( )
signal

◆ compIDsStr()

QStringList QGCMAVLinkSystem::compIDsStr ( ) const
inline

Definition at line 27 of file MAVLinkSystem.h.

◆ findMessage() [1/2]

int QGCMAVLinkSystem::findMessage ( const QGCMAVLinkMessage message)

Definition at line 38 of file MAVLinkSystem.cc.

References QmlObjectListModel::count(), and QmlObjectListModel::get().

◆ findMessage() [2/2]

QGCMAVLinkMessage * QGCMAVLinkSystem::findMessage ( uint32_t  id,
uint8_t  compId,
const QString &  instanceValue = QString() 
)

◆ id()

quint8 QGCMAVLinkSystem::id ( ) const
inline

Definition at line 24 of file MAVLinkSystem.h.

Referenced by MAVLinkInspectorController::systemNames().

◆ messages()

QmlObjectListModel * QGCMAVLinkSystem::messages ( ) const
inline

Definition at line 25 of file MAVLinkSystem.h.

◆ selected()

int QGCMAVLinkSystem::selected ( ) const
inline

Definition at line 28 of file MAVLinkSystem.h.

◆ selectedChanged

void QGCMAVLinkSystem::selectedChanged ( )
signal

Referenced by append(), and setSelected().

◆ selectedMsg()

QGCMAVLinkMessage * QGCMAVLinkSystem::selectedMsg ( )

◆ setSelected()

void QGCMAVLinkSystem::setSelected ( int  sel)

The documentation for this class was generated from the following files: