QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
Public Member Functions | List of all members
QgsProcessingContextGenerator Class Referenceabstract

An interface for objects which can create Processing contexts. More...

#include <qgsprocessingwidgetwrapper.h>

Public Member Functions

virtual ~QgsProcessingContextGenerator ()=default
 
virtual QgsProcessingContextprocessingContext ()=0
 This method needs to be reimplemented in all classes which implement this interface and return a Processing context. More...
 

Detailed Description

An interface for objects which can create Processing contexts.

Since
QGIS 3.4

Definition at line 52 of file qgsprocessingwidgetwrapper.h.

Constructor & Destructor Documentation

◆ ~QgsProcessingContextGenerator()

virtual QgsProcessingContextGenerator::~QgsProcessingContextGenerator ( )
virtualdefault

Member Function Documentation

◆ processingContext()

virtual 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.


The documentation for this class was generated from the following file: