Class: QgsProcessingContextGenerator

class qgis.gui.QgsProcessingContextGenerator

Bases: sip.wrapper

An interface for objects which can create Processing contexts.

New in version 3.4: Methods

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

Signals

Attributes

processingContext(self) → QgsProcessingContext

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.