QtTaskTree::QMappedTaskTreeRunner Class

template <typename Key> class QtTaskTree::QMappedTaskTreeRunner

A mapped task tree execution controller with a given Key type. More...

Header: #include <qtasktreerunner.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS TaskTree)
target_link_libraries(mytarget PRIVATE Qt6::TaskTree)
qmake: QT += tasktree
Since: Qt 6.11
Status: Technology preview

This class is in technology preview and is subject to change.

Public Functions

Detailed Description

Manages mapped task tree execution using the Key type. Use the start() method to execute a recipe for a given key unconditionally, resetting a possibly running task tree with the same key, and keeping other possibly running task trees with different keys in parallel.

See also Task Tree Runners.

Member Function Documentation

[implicit] QMappedTaskTreeRunner::QMappedTaskTreeRunner()

Constructs a mapped task tree runner. The Key type is used for task tree mapping.