QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
Definition of a task for inclusion in the manager. More...
#include <qgstaskmanager.h>
Public Member Functions | |
TaskDefinition (QgsTask *task, const QgsTaskList &dependentTasks=QgsTaskList()) | |
Constructor for TaskDefinition. | |
Public Attributes | |
QgsTaskList | dependentTasks |
List of dependent tasks which must be completed before task can run. | |
QgsTask * | task = nullptr |
Task. | |
Definition of a task for inclusion in the manager.
Definition at line 410 of file qgstaskmanager.h.
|
inlineexplicit |
Constructor for TaskDefinition.
Ownership of the task is not transferred to the definition, but will be transferred to a QgsTaskManager.
Definition at line 417 of file qgstaskmanager.h.
QgsTaskList QgsTaskManager::TaskDefinition::dependentTasks |
List of dependent tasks which must be completed before task can run.
If any dependent tasks are canceled this task will also be canceled. Dependent tasks must also be added to the task manager for proper handling of dependencies.
Definition at line 430 of file qgstaskmanager.h.
QgsTask* QgsTaskManager::TaskDefinition::task = nullptr |
Task.
Definition at line 423 of file qgstaskmanager.h.