|
QGroundControl
Ground Control Station for MAVLink Drones
|
MAVLink message inspector controller (provides the logic for UI display) More...
#include <MAVLinkInspectorController.h>
Inheritance diagram for MAVLinkInspectorController:
Collaboration diagram for MAVLinkInspectorController:Signals | |
| void | activeSystemChanged () |
| void | rangeListChanged () |
| void | systemsChanged () |
| void | timeScalesChanged () |
Public Member Functions | |
| MAVLinkInspectorController (QObject *parent=nullptr) | |
| ~MAVLinkInspectorController () | |
| Q_INVOKABLE void | setActiveSystem (int systemId) |
| Q_INVOKABLE void | setMessageInterval (int32_t rate) const |
| QmlObjectListModel * | systems () const |
| QGCMAVLinkSystem * | activeSystem () const |
| QStringList | systemNames () const |
| QStringList | timeScales () |
| QStringList | rangeList () |
| const QList< TimeScale_st * > & | timeScaleSt () const |
| const QList< Range_st * > & | rangeSt () const |
MAVLink message inspector controller (provides the logic for UI display)
Definition at line 18 of file MAVLinkInspectorController.h.
|
explicit |
| MAVLinkInspectorController::~MAVLinkInspectorController | ( | ) |
Definition at line 72 of file MAVLinkInspectorController.cc.
References QmlObjectListModel::clearAndDeleteContents().
|
inline |
Definition at line 57 of file MAVLinkInspectorController.h.
|
signal |
Referenced by setActiveSystem().
| QStringList MAVLinkInspectorController::rangeList | ( | ) |
Definition at line 104 of file MAVLinkInspectorController.cc.
|
signal |
|
inline |
Definition at line 63 of file MAVLinkInspectorController.h.
Referenced by MAVLinkChartController::setRangeYIndex().
| void MAVLinkInspectorController::setActiveSystem | ( | int | systemId | ) |
Definition at line 226 of file MAVLinkInspectorController.cc.
References activeSystemChanged().
| void MAVLinkInspectorController::setMessageInterval | ( | int32_t | rate | ) | const |
Definition at line 235 of file MAVLinkInspectorController.cc.
References MultiVehicleManager::getVehicleById(), QGCMAVLinkMessage::id(), MultiVehicleManager::instance(), QGCMAVLinkSystem::selectedMsg(), and Vehicle::setMessageRate().
| QStringList MAVLinkInspectorController::systemNames | ( | ) | const |
Definition at line 81 of file MAVLinkInspectorController.cc.
References QmlObjectListModel::count(), QmlObjectListModel::get(), and QGCMAVLinkSystem::id().
|
inline |
Definition at line 56 of file MAVLinkInspectorController.h.
|
signal |
| QStringList MAVLinkInspectorController::timeScales | ( | ) |
Definition at line 93 of file MAVLinkInspectorController.cc.
|
signal |
|
inline |
Definition at line 62 of file MAVLinkInspectorController.h.
Referenced by MAVLinkChartController::rangeXMs(), and MAVLinkChartController::updateXRange().