18 #ifndef QGSPROCESSINGFEEDBACK_H 19 #define QGSPROCESSINGFEEDBACK_H 21 #include "qgis_core.h" 126 void setCurrentStep(
int step );
129 void reportError(
const QString &error,
bool fatalError )
override;
130 void pushInfo(
const QString &info )
override;
137 void updateOverallProgress(
double progress );
142 int mCurrentStep = 0;
146 #endif // QGSPROCESSINGFEEDBACK_H Base class for providing feedback from a processing algorithm.
Processing feedback object for multi-step operations.
virtual void setProgressText(const QString &text)
Sets a progress report text string.
static void logMessage(const QString &message, const QString &tag=QString(), Qgis::MessageLevel level=Qgis::Warning)
add a message to the instance (and create it if necessary)
Base class for feedback objects to be used for cancelation of something running in a worker thread...
virtual void pushDebugInfo(const QString &info)
Pushes an informational message containing debugging helpers from the algorithm.
virtual void pushConsoleInfo(const QString &info)
Pushes a console feedback message from the algorithm.
virtual void pushCommandInfo(const QString &info)
Pushes an informational message containing a command from the algorithm.
virtual void reportError(const QString &error, bool fatalError=false)
Reports that the algorithm encountered an error while executing.
virtual void pushInfo(const QString &info)
Pushes a general informational message from the algorithm.