18 #ifndef QGSRASTERFILEWRITERTASK_H 19 #define QGSRASTERFILEWRITERTASK_H 21 #include "qgis_core.h" 50 int columns,
int rows,
62 void writeComplete(
const QString &outputUrl );
68 void errorOccurred(
int error );
73 void finished(
bool result )
override;
82 std::unique_ptr< QgsRasterPipe > mPipe;
84 QString mDestFileName;
86 std::unique_ptr< QgsRasterBlockFeedback > mFeedback;
92 #endif //QGSRASTERFILEWRITERTASK_H QgsTask task which performs a QgsRasterFileWriter layer saving operation as a background task...
A rectangle specified with double values.
Base class for processing modules.
Abstract base class for long running background tasks.
virtual void cancel()
Notifies the task that it should terminate.
This class represents a coordinate reference system (CRS).
virtual void finished(bool result)
If the task is managed by a QgsTaskManager, this will be called after the task has finished (whether ...
virtual bool run()=0
Performs the task's operation.
The raster file writer which allows you to save a raster to a new file.