QGIS API Documentation 3.41.0-Master (d5b93354e9c)
Loading...
Searching...
No Matches
qgsprocessingbatch.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsprocessingbatch.h
3 ------------------------
4 begin : March 2022
5 copyright : (C) 2022 by Nyall Dawson
6 email : nyall dot dawson at gmail dot com
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17
18#ifndef QGSPROCESSINGBATCH_H
19#define QGSPROCESSINGBATCH_H
20
21#include "qgis_core.h"
22#include "qgis.h"
23
25
33{
34 Q_OBJECT
35
36 public:
37
44
45 void reportError( const QString &error, bool fatalError = false ) override;
46
50 QStringList popErrors();
51
52 private:
53
54 QStringList mErrors;
55};
56
57
58#endif // QGSPROCESSINGBATCH_H
59
60
Processing feedback subclass for use when batch processing.
Base class for providing feedback from a processing algorithm.
Processing feedback object for multi-step operations.
void reportError(const QString &error, bool fatalError=false) override
Reports that the algorithm encountered an error while executing.