|
QGIS API Documentation 3.99.0-Master (2fe06baccd8)
|
Configuration settings which control how a Processing model is executed. More...
#include <qgsprocessingmodelconfig.h>
Public Member Functions | |
| QgsProcessingModelInitialRunConfig () | |
| ~QgsProcessingModelInitialRunConfig () | |
| QSet< QString > | childAlgorithmSubset () const |
| Returns the subset of child algorithms to run (by child ID). | |
| QVariantMap | initialChildInputs () const |
| Returns the map of child algorithm inputs to use as the initial state when running the model. | |
| QVariantMap | initialChildOutputs () const |
| Returns the map of child algorithm outputs to use as the initial state when running the model. | |
| QgsMapLayerStore * | previousLayerStore () |
| Returns a reference to a map store containing copies of temporary layers generated during previous model executions. | |
| QSet< QString > | previouslyExecutedChildAlgorithms () const |
| Returns the set of previously executed child algorithm IDs to use as the initial state when running the model. | |
| void | setChildAlgorithmSubset (const QSet< QString > &subset) |
| Sets the subset of child algorithms to run (by child ID). | |
| void | setInitialChildInputs (const QVariantMap &inputs) |
| Sets the map of child algorithm inputs to use as the initial state when running the model. | |
| void | setInitialChildOutputs (const QVariantMap &outputs) |
| Sets the map of child algorithm outputs to use as the initial state when running the model. | |
| void | setPreviousLayerStore (std::unique_ptr< QgsMapLayerStore > store) |
| Sets the map store containing copies of temporary layers generated during previous model executions. | |
| void | setPreviouslyExecutedChildAlgorithms (const QSet< QString > &children) |
| Sets the previously executed child algorithm IDs to use as the initial state when running the model. | |
| std::unique_ptr< QgsMapLayerStore > | takePreviousLayerStore () |
| Takes the map store containing copies of temporary layers generated during previous model executions. | |
Configuration settings which control how a Processing model is executed.
Definition at line 38 of file qgsprocessingmodelconfig.h.
|
default |
|
default |
|
inline |
Returns the subset of child algorithms to run (by child ID).
An empty set indicates the entire model should be run.
Definition at line 52 of file qgsprocessingmodelconfig.h.
|
inline |
Returns the map of child algorithm inputs to use as the initial state when running the model.
Map keys refer to the child algorithm IDs.
Definition at line 70 of file qgsprocessingmodelconfig.h.
|
inline |
Returns the map of child algorithm outputs to use as the initial state when running the model.
Map keys refer to the child algorithm IDs.
Definition at line 88 of file qgsprocessingmodelconfig.h.
| QgsMapLayerStore * QgsProcessingModelInitialRunConfig::previousLayerStore | ( | ) |
Returns a reference to a map store containing copies of temporary layers generated during previous model executions.
This may be nullptr.
Definition at line 26 of file qgsprocessingmodelconfig.cpp.
|
inline |
Returns the set of previously executed child algorithm IDs to use as the initial state when running the model.
Definition at line 105 of file qgsprocessingmodelconfig.h.
|
inline |
Sets the subset of child algorithms to run (by child ID).
An empty set indicates the entire model should be run.
Definition at line 61 of file qgsprocessingmodelconfig.h.
|
inline |
Sets the map of child algorithm inputs to use as the initial state when running the model.
Map keys refer to the child algorithm IDs.
Definition at line 79 of file qgsprocessingmodelconfig.h.
|
inline |
Sets the map of child algorithm outputs to use as the initial state when running the model.
Map keys refer to the child algorithm IDs.
Definition at line 97 of file qgsprocessingmodelconfig.h.
| void QgsProcessingModelInitialRunConfig::setPreviousLayerStore | ( | std::unique_ptr< QgsMapLayerStore > | store | ) |
Sets the map store containing copies of temporary layers generated during previous model executions.
nullptr thread via a call to QObject::moveToThread. An assert will be triggered if this condition is not met.Definition at line 36 of file qgsprocessingmodelconfig.cpp.
|
inline |
Sets the previously executed child algorithm IDs to use as the initial state when running the model.
Definition at line 113 of file qgsprocessingmodelconfig.h.
| std::unique_ptr< QgsMapLayerStore > QgsProcessingModelInitialRunConfig::takePreviousLayerStore | ( | ) |
Takes the map store containing copies of temporary layers generated during previous model executions.
May return nullptr if this is not available.
Definition at line 31 of file qgsprocessingmodelconfig.cpp.