|
QGroundControl
Ground Control Station for MAVLink Drones
|
This class is used to encapsulate the QGeoCoordinate associated with a Rally Point into a QObject such that it can be used in a QmlObjectListMode for Qml. More...
#include <RallyPoint.h>
Inheritance diagram for RallyPoint:
Collaboration diagram for RallyPoint:Signals | |
| void | coordinateChanged (const QGeoCoordinate &coordinate) |
| void | dirtyChanged (bool dirty) |
Public Member Functions | |
| RallyPoint (const QGeoCoordinate &coordinate, QObject *parent=nullptr) | |
| RallyPoint (const RallyPoint &other, QObject *parent=nullptr) | |
| ~RallyPoint () | |
| const RallyPoint & | operator= (const RallyPoint &other) |
| QGeoCoordinate | coordinate (void) const |
| void | setCoordinate (const QGeoCoordinate &coordinate) |
| bool | dirty (void) const |
| void | setDirty (bool dirty) |
Static Public Member Functions | |
| static double | getDefaultFactAltitude () |
This class is used to encapsulate the QGeoCoordinate associated with a Rally Point into a QObject such that it can be used in a QmlObjectListMode for Qml.
Definition at line 11 of file RallyPoint.h.
| RallyPoint::RallyPoint | ( | const QGeoCoordinate & | coordinate, |
| QObject * | parent = nullptr |
||
| ) |
Definition at line 5 of file RallyPoint.cc.
References coordinate(), and setCoordinate().
| RallyPoint::RallyPoint | ( | const RallyPoint & | other, |
| QObject * | parent = nullptr |
||
| ) |
Definition at line 17 of file RallyPoint.cc.
References Fact::rawValue(), and Fact::setRawValue().
| RallyPoint::~RallyPoint | ( | ) |
Definition at line 42 of file RallyPoint.cc.
| QGeoCoordinate RallyPoint::coordinate | ( | void | ) | const |
Definition at line 98 of file RallyPoint.cc.
References Fact::rawValue().
Referenced by operator=(), RallyPoint(), and setCoordinate().
|
signal |
Referenced by operator=(), and setCoordinate().
|
inline |
Definition at line 30 of file RallyPoint.h.
Referenced by setDirty().
|
signal |
Referenced by setDirty().
|
static |
Definition at line 89 of file RallyPoint.cc.
Referenced by RallyPointController::addPoint().
| const RallyPoint & RallyPoint::operator= | ( | const RallyPoint & | other | ) |
Definition at line 31 of file RallyPoint.cc.
References coordinate(), coordinateChanged(), Fact::rawValue(), and Fact::setRawValue().
| void RallyPoint::setCoordinate | ( | const QGeoCoordinate & | coordinate | ) |
Definition at line 70 of file RallyPoint.cc.
References coordinate(), coordinateChanged(), setDirty(), and Fact::setRawValue().
Referenced by RallyPoint().
| void RallyPoint::setDirty | ( | bool | dirty | ) |
Definition at line 81 of file RallyPoint.cc.
References dirty(), and dirtyChanged().
Referenced by setCoordinate().