QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
PlanCreator Class Referenceabstract

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ PlanCreator()

PlanCreator::PlanCreator ( PlanMasterController * planMasterController,
QString name,
QString imageResource,
QList< QGCMAVLinkTypes::VehicleClass_t > supportedVehicleClasses,
bool blankPlan = false )

Member Function Documentation

◆ createPlan()

virtual Q_INVOKABLE void PlanCreator::createPlan ( const QGeoCoordinate & mapCenterCoord)
pure virtual

◆ supportsVehicleClass()

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.

Referenced by createPlan().

Member Data Documentation

◆ _missionController

MissionController* PlanCreator::_missionController
protected

◆ _planMasterController


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