18#ifndef QGSPROCESSINGMODELFEEDBACK_H
19#define QGSPROCESSINGMODELFEEDBACK_H
74 void reportChildPreparationFailure(
const QString &childId,
const QString &error );
81 void reportChildStarted(
const QString &childId,
const QVariantMap &childParameters );
93 void reportChildProgress(
const QString &childId,
double progress );
100 void reportChildExecutionFailure(
const QString &childId,
const QString &error );
112 void reportChildExecutionSuccess(
const QString &childId,
const QVariantMap &childResults );
129 void reportChildPruned(
const QString &childId );
164 void childStarted(
const QString &childId,
const QVariantMap &childParameters );
200 QSet< QString > mPreparedChildren;
201 QSet< QString > mStartedChildren;
202 QSet< QString > mSuccessfullyExecutedChildren;
203 QSet< QString > mFailedChildren;
204 QSet< QString > mPrunedChildren;
double progress() const
Returns the current progress reported by the feedback object.
QgsProcessingFeedback(bool logFeedback=true)
Constructor for QgsProcessingFeedback.
Encapsulates the results of running a child algorithm within a model.
QgsProcessingModelFeedback(bool logFeedback=true)
Constructor for QgsProcessingModelFeedback.
QSet< QString > preparedChildren() const
Returns the IDs of children which have been prepared.
QSet< QString > successfulChildren() const
Returns the IDs of children which were successfully executed.
void childExecutionSucceeded(const QString &childId, const QVariantMap &childResults)
Emitted when a child algorithm successfully executed.
void childPreparationFailed(const QString &childId, const QString &error)
Emitted when an error occurred while preparing a child algorithm.
QSet< QString > startedChildren() const
Returns the IDs of children which were started.
void childExecutionFailed(const QString &childId, const QString &error)
Emitted when an error occurred while executing a child algorithm.
void childStarted(const QString &childId, const QVariantMap &childParameters)
Emitted when a child algorithm has started executing.
void childResultReported(const QString &childId, const QgsProcessingModelChildAlgorithmResult &result)
Emitted when the result of a child algorithm has been reported.
void reportBrokenChildAlgorithms(const QSet< QString > &childIds)
Report a set of child algorithms as broken (e.g.
void preparingChild(const QString &childId)
Emitted when a child algorithm starts preparation.
void childAlgorithmsBroken(const QSet< QString > &childIds)
Emitted when a set of child algorithms was reported as broken (e.g.
void reportPreparingChild(const QString &childId)
Report a child algorithm as undergoing the preparation step.
QSet< QString > failedChildren() const
Returns the IDs of children which were failed execution.
void childPruned(const QString &childId)
Emitted when a child algorithm was pruned from the pending children (i.e.
void childProgressChanged(const QString &childId, double progress)
Emitted when a child algorithm changes progress.
QSet< QString > prunedChildren() const
Returns the IDs of children which were pruned.