|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <MAVLinkChartController.h>
Inheritance diagram for MAVLinkChartController:
Collaboration diagram for MAVLinkChartController:Signals | |
| void | chartFieldsChanged () |
| void | rangeXMinChanged () |
| void | rangeXMaxChanged () |
| void | rangeYMinChanged () |
| void | rangeYMaxChanged () |
| void | rangeYIndexChanged () |
| void | rangeXIndexChanged () |
| void | plotPixelWidthChanged () |
Public Member Functions | |
| MAVLinkChartController (QObject *parent=nullptr) | |
| ~MAVLinkChartController () | |
| Q_INVOKABLE void | addSeries (QGCMAVLinkMessageField *field, QAbstractSeries *series) |
| Q_INVOKABLE void | delSeries (QGCMAVLinkMessageField *field) |
| void | setInspectorController (MAVLinkInspectorController *inspectorController) |
| MAVLinkInspectorController * | inspectorController () const |
| QVariantList | chartFields () const |
| qreal | rangeXMin () const |
| qreal | rangeXMax () const |
| qreal | rangeYMin () const |
| qreal | rangeYMax () const |
| quint32 | rangeXIndex () const |
| qreal | rangeXMs () const |
| quint32 | rangeYIndex () const |
| int | chartIndex () const |
| int | plotPixelWidth () const |
| void | setRangeXIndex (quint32 index) |
| void | setRangeYIndex (quint32 index) |
| void | setPlotPixelWidth (int width) |
| void | updateXRange () |
| void | updateYRange () |
Definition at line 12 of file MAVLinkChartController.h.
|
explicit |
Definition at line 14 of file MAVLinkChartController.cc.
| MAVLinkChartController::~MAVLinkChartController | ( | ) |
Definition at line 23 of file MAVLinkChartController.cc.
| void MAVLinkChartController::addSeries | ( | QGCMAVLinkMessageField * | field, |
| QAbstractSeries * | series | ||
| ) |
Definition at line 162 of file MAVLinkChartController.cc.
References QGCMAVLinkMessageField::addSeries(), and chartFieldsChanged().
|
inline |
Definition at line 41 of file MAVLinkChartController.h.
|
signal |
Referenced by addSeries(), and delSeries().
|
inline |
Definition at line 49 of file MAVLinkChartController.h.
Referenced by QGCMAVLinkMessageField::chartIndex().
| void MAVLinkChartController::delSeries | ( | QGCMAVLinkMessageField * | field | ) |
Definition at line 182 of file MAVLinkChartController.cc.
References chartFieldsChanged(), QGCMAVLinkMessageField::delSeries(), and updateXRange().
|
inline |
Definition at line 40 of file MAVLinkChartController.h.
|
inline |
Definition at line 50 of file MAVLinkChartController.h.
Referenced by QGCMAVLinkMessageField::addSeries().
|
signal |
Referenced by setPlotPixelWidth().
|
inline |
Definition at line 46 of file MAVLinkChartController.h.
|
signal |
Referenced by setRangeXIndex().
|
inline |
Definition at line 43 of file MAVLinkChartController.h.
|
signal |
Referenced by updateXRange().
|
inline |
Definition at line 42 of file MAVLinkChartController.h.
|
signal |
Referenced by updateXRange().
| qreal MAVLinkChartController::rangeXMs | ( | ) | const |
Definition at line 62 of file MAVLinkChartController.cc.
References MAVLinkInspectorController::timeScaleSt().
Referenced by QGCMAVLinkMessageField::addSeries().
|
inline |
Definition at line 48 of file MAVLinkChartController.h.
Referenced by QGCMAVLinkMessageField::updateValue().
|
signal |
Referenced by setRangeYIndex().
|
inline |
Definition at line 45 of file MAVLinkChartController.h.
|
signal |
Referenced by setRangeYIndex(), and updateYRange().
|
inline |
Definition at line 44 of file MAVLinkChartController.h.
|
signal |
Referenced by setRangeYIndex(), and updateYRange().
| void MAVLinkChartController::setInspectorController | ( | MAVLinkInspectorController * | inspectorController | ) |
Definition at line 28 of file MAVLinkChartController.cc.
References updateXRange().
| void MAVLinkChartController::setPlotPixelWidth | ( | int | width | ) |
Definition at line 203 of file MAVLinkChartController.cc.
References plotPixelWidthChanged().
| void MAVLinkChartController::setRangeXIndex | ( | quint32 | index | ) |
Definition at line 73 of file MAVLinkChartController.cc.
References rangeXIndexChanged(), and updateXRange().
| void MAVLinkChartController::setRangeYIndex | ( | quint32 | index | ) |
Definition at line 38 of file MAVLinkChartController.cc.
References MAVLinkInspectorController::rangeSt(), rangeYIndexChanged(), rangeYMaxChanged(), and rangeYMinChanged().
| void MAVLinkChartController::updateXRange | ( | ) |
Definition at line 86 of file MAVLinkChartController.cc.
References qgcApp, rangeXMaxChanged(), rangeXMinChanged(), and MAVLinkInspectorController::timeScaleSt().
Referenced by delSeries(), setInspectorController(), and setRangeXIndex().
| void MAVLinkChartController::updateYRange | ( | ) |
Definition at line 104 of file MAVLinkChartController.cc.
References kMinDelta, QGCMAVLinkMessageField::rangeMax(), QGCMAVLinkMessageField::rangeMin(), rangeYMaxChanged(), and rangeYMinChanged().
Referenced by QGCMAVLinkMessageField::updateValue().