TaskDefinition struct
Definition of a task for inclusion in the manager.
Contents
Constructors, destructors, conversion operators
- TaskDefinition(QgsTask* task, const QgsTaskList& dependentTasks = QgsTaskList()) explicit
- Constructor for TaskDefinition.
Public variables
- QgsTaskList dependentTasks
- List of dependent tasks which must be completed before task can run.
- QgsTask* task
- Task.
Function documentation
QgsTaskManager:: TaskDefinition:: TaskDefinition(QgsTask* task,
const QgsTaskList& dependentTasks = QgsTaskList()) explicit
Constructor for TaskDefinition.
Ownership of the task is not transferred to the definition, but will be transferred to a QgsTaskManager.
Variable documentation
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.