QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCExportTileTask Class Reference

#include <QGCMapTasks.h>

+ Inheritance diagram for QGCExportTileTask:
+ Collaboration diagram for QGCExportTileTask:

Signals

void actionCompleted ()
 
void actionProgress (int percentage)
 
- Signals inherited from QGCMapTask
void error (QGCMapTask::TaskType type, const QString &errorString)
 

Public Member Functions

 QGCExportTileTask (const QList< TileSetRecord > &sets, const QString &path, QObject *parent=nullptr)
 
 ~QGCExportTileTask ()=default
 
const QList< TileSetRecord > & sets () const
 
QString path () const
 
void setExportCompleted ()
 
void setProgress (int percentage)
 
- Public Member Functions inherited from QGCMapTask
 Q_ENUM (TaskType)
 
 QGCMapTask (TaskType type, QObject *parent=nullptr)
 
virtual ~QGCMapTask ()=default
 
TaskType type () const
 
void setError (const QString &errorString=QString())
 

Additional Inherited Members

- Public Types inherited from QGCMapTask
enum class  TaskType {
  taskInit , taskCacheTile , taskFetchTile , taskFetchTileSets ,
  taskCreateTileSet , taskGetTileDownloadList , taskUpdateTileDownloadState , taskDeleteTileSet ,
  taskRenameTileSet , taskPruneCache , taskReset , taskExport ,
  taskImport
}
 

Detailed Description

Definition at line 314 of file QGCMapTasks.h.

Constructor & Destructor Documentation

◆ QGCExportTileTask()

QGCExportTileTask::QGCExportTileTask ( const QList< TileSetRecord > &  sets,
const QString &  path,
QObject *  parent = nullptr 
)
inlineexplicit

Definition at line 319 of file QGCMapTasks.h.

◆ ~QGCExportTileTask()

QGCExportTileTask::~QGCExportTileTask ( )
default

Member Function Documentation

◆ actionCompleted

void QGCExportTileTask::actionCompleted ( )
signal

Referenced by setExportCompleted().

◆ actionProgress

void QGCExportTileTask::actionProgress ( int  percentage)
signal

Referenced by setProgress().

◆ path()

QString QGCExportTileTask::path ( ) const
inline

Definition at line 327 of file QGCMapTasks.h.

◆ setExportCompleted()

void QGCExportTileTask::setExportCompleted ( )
inline

Definition at line 329 of file QGCMapTasks.h.

References actionCompleted().

◆ setProgress()

void QGCExportTileTask::setProgress ( int  percentage)
inline

Definition at line 334 of file QGCMapTasks.h.

References actionProgress().

◆ sets()

const QList< TileSetRecord > & QGCExportTileTask::sets ( ) const
inline

Definition at line 326 of file QGCMapTasks.h.


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