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 (quint32 id, QObject *parent=nullptr)
 ~QGCMAVLinkSystem ()
quint32 id () const
QmlObjectListModel * messages () const
QList< int > compIDs () const
QStringList compIDsStr () const
int selected () const
void setSelected (int sel)
QGCMAVLinkMessage * findMessage (uint32_t id, uint8_t compId, const QString &instanceValue=QString())
int findMessage (const QGCMAVLinkMessage *message)
void append (QGCMAVLinkMessage *message)
QGCMAVLinkMessage * selectedMsg ()

Detailed Description

Definition at line 10 of file MAVLinkSystem.h.

Constructor & Destructor Documentation

◆ QGCMAVLinkSystem()

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

Definition at line 11 of file MAVLinkSystem.cc.

References id(), and QGCMAVLinkSystem().

Referenced by QGCMAVLinkSystem().

◆ ~QGCMAVLinkSystem()

QGCMAVLinkSystem::~QGCMAVLinkSystem ( )

Definition at line 19 of file MAVLinkSystem.cc.

Member Function Documentation

◆ append()

void QGCMAVLinkSystem::append ( QGCMAVLinkMessage * message)

◆ 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.

◆ findMessage() [2/2]

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

◆ id()

quint32 QGCMAVLinkSystem::id ( ) const
inline

Definition at line 24 of file MAVLinkSystem.h.

Referenced by QGCMAVLinkSystem(), and 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 ( )

Definition at line 75 of file MAVLinkSystem.cc.

References selectedMsg().

Referenced by append(), and selectedMsg().

◆ setSelected()

void QGCMAVLinkSystem::setSelected ( int sel)

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