QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
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;
119 #endif //QGSRASTERFILEWRITERTASK_H
Contains information about the context in which a coordinate transform is executed.
const QgsCoordinateReferenceSystem & crs
Base class for processing modules.
A rectangle specified with double values.
virtual void finished(bool result)
If the task is managed by a QgsTaskManager, this will be called after the task has finished (whether ...
virtual void cancel()
Notifies the task that it should terminate.
void writeComplete(const QString &outputUrl)
Emitted when writing the layer is successfully completed.
This class represents a coordinate reference system (CRS).
The raster file writer which allows you to save a raster to a new file.
void errorOccurred(int error)
Emitted when an error occurs which prevented the file being written (or if the task is canceled).
void errorOccurred(int error, const QString &errorMessage)
Emitted when an error occurs which prevented the file being written (or if the task is canceled).
virtual bool run()=0
Performs the task's operation.
QgsTask task which performs a QgsRasterFileWriter layer saving operation as a background task.
Abstract base class for long running background tasks.