|
QGroundControl
Ground Control Station for MAVLink Drones
|
Base class for PlanCreator objects which are used to create a full plan in a single step. More...
#include <PlanCreator.h>
Inheritance diagram for PlanCreator:
Collaboration diagram for PlanCreator:Public Member Functions | |
| PlanCreator (PlanMasterController *planMasterController, QString name, QString imageResource, QList< QGCMAVLinkTypes::VehicleClass_t > supportedVehicleClasses, bool blankPlan=false) | |
| virtual Q_INVOKABLE void | createPlan (const QGeoCoordinate &mapCenterCoord)=0 |
| bool | supportsVehicleClass (QGCMAVLinkTypes::VehicleClass_t vehicleClass) const |
| Returns true if this creator supports the given vehicle class. | |
Protected Attributes | |
| PlanMasterController * | _planMasterController |
| MissionController * | _missionController |
Base class for PlanCreator objects which are used to create a full plan in a single step.
Definition at line 15 of file PlanCreator.h.
| PlanCreator::PlanCreator | ( | PlanMasterController * | planMasterController, |
| QString | name, | ||
| QString | imageResource, | ||
| QList< QGCMAVLinkTypes::VehicleClass_t > | supportedVehicleClasses, | ||
| bool | blankPlan = false |
||
| ) |
| planMasterController | also used as the QObject parent |
Definition at line 4 of file PlanCreator.cc.
|
pure virtual |
Implemented in BlankPlanCreator, CorridorScanPlanCreator, StructureScanPlanCreator, and SurveyPlanCreator.
| bool PlanCreator::supportsVehicleClass | ( | QGCMAVLinkTypes::VehicleClass_t | vehicleClass | ) | const |
Returns true if this creator supports the given vehicle class.
Definition at line 16 of file PlanCreator.cc.
|
protected |
Definition at line 34 of file PlanCreator.h.
Referenced by CorridorScanPlanCreator::createPlan(), StructureScanPlanCreator::createPlan(), and SurveyPlanCreator::createPlan().
|
protected |
Definition at line 33 of file PlanCreator.h.
Referenced by BlankPlanCreator::createPlan(), CorridorScanPlanCreator::createPlan(), StructureScanPlanCreator::createPlan(), and SurveyPlanCreator::createPlan().