QgsProcessingContextGenerator class

An interface for objects which can create Processing contexts.

Contents

Public functions

auto processingContext() -> QgsProcessingContext* pure virtual
This method needs to be reimplemented in all classes which implement this interface and return a Processing context.

Function documentation

QgsProcessingContext* QgsProcessingContextGenerator::processingContext() pure virtual

This method needs to be reimplemented in all classes which implement this interface and return a Processing context.

Note that ownership of the context is not transferred - it is intended that subclasses return a pointer to a context which they have already created and own.