27 return mModelInitialLayerStore.get();
32 return std::move( mModelInitialLayerStore );
39 Q_ASSERT_X( !store->thread(),
"QgsProcessingModelInitialRunConfig::setPreviousLayerStore",
"store must have been pushed to a nullptr thread prior to calling this method" );
41 mModelInitialLayerStore = std::move( store );
A storage object for map layers, in which the layers are owned by the store and have their lifetime b...
void setPreviousLayerStore(std::unique_ptr< QgsMapLayerStore > store)
Sets the map store containing copies of temporary layers generated during previous model executions.
QgsProcessingModelInitialRunConfig()
QgsMapLayerStore * previousLayerStore()
Returns a reference to a map store containing copies of temporary layers generated during previous mo...
std::unique_ptr< QgsMapLayerStore > takePreviousLayerStore()
Takes the map store containing copies of temporary layers generated during previous model executions.
~QgsProcessingModelInitialRunConfig()