18 #ifndef QGSPROCESSINGFEEDBACK_H 19 #define QGSPROCESSINGFEEDBACK_H 21 #include "qgis_core.h" 49 virtual void setProgressText(
const QString &text );
56 virtual void reportError(
const QString &error,
bool fatalError =
false );
66 virtual void pushInfo(
const QString &info );
76 virtual void pushCommandInfo(
const QString &info );
85 virtual void pushDebugInfo(
const QString &info );
94 virtual void pushConsoleInfo(
const QString &info );
134 void setCurrentStep(
int step );
137 void reportError(
const QString &error,
bool fatalError )
override;
138 void pushInfo(
const QString &info )
override;
145 void updateOverallProgress(
double progress );
150 int mCurrentStep = 0;
154 #endif // QGSPROCESSINGFEEDBACK_H virtual void pushConsoleInfo(const QString &info)
Pushes a console feedback message from the algorithm.
Base class for providing feedback from a processing algorithm.
Processing feedback object for multi-step operations.
virtual void pushCommandInfo(const QString &info)
Pushes an informational message containing a command from the algorithm.
Abstract base class for processing providers.
Base class for feedback objects to be used for cancellation of something running in a worker thread...
virtual void setProgressText(const QString &text)
Sets a progress report text string.
virtual void pushInfo(const QString &info)
Pushes a general informational message from the algorithm.
virtual void pushDebugInfo(const QString &info)
Pushes an informational message containing debugging helpers from the algorithm.
virtual void reportError(const QString &error, bool fatalError=false)
Reports that the algorithm encountered an error while executing.