18 #ifndef QGSRASTERFILEWRITERTASK_H
19 #define QGSRASTERFILEWRITERTASK_H
21 #include "qgis_core.h"
52 int columns,
int rows,
65 int columns,
int rows,
99 void finished(
bool result )
override;
108 std::unique_ptr< QgsRasterPipe > mPipe;
110 QString mDestFileName;
112 std::unique_ptr< QgsRasterBlockFeedback > mFeedback;
This class represents a coordinate reference system (CRS).
Contains information about the context in which a coordinate transform is executed.
QgsTask task which performs a QgsRasterFileWriter layer saving operation as a background task.
void writeComplete(const QString &outputUrl)
Emitted when writing the layer is successfully completed.
void errorOccurred(int error, const QString &errorMessage)
Emitted when an error occurs which prevented the file being written (or if the task is canceled).
void errorOccurred(int error)
Emitted when an error occurs which prevented the file being written (or if the task is canceled).
The raster file writer which allows you to save a raster to a new file.
Base class for processing modules.
A rectangle specified with double values.
Abstract base class for long running background tasks.
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.
virtual void cancel()
Notifies the task that it should terminate.
const QgsCoordinateReferenceSystem & crs