In questa pagina

QtTaskTree::ExecutionMode Class

class QtTaskTree::ExecutionMode

L'elemento di gruppo che descrive la modalità di esecuzione. Per saperne di più...

Intestazione: #include <qtasktree.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS TaskTree)
target_link_libraries(mytarget PRIVATE Qt6::TaskTree)
qmake: QT += tasktree
A partire da: Qt 6.11
Eredita da: QtTaskTree::GroupItem
Ereditato da:

QtTaskTree::ParallelLimit

Stato: Anteprima tecnologica

Questa classe è in anteprima tecnologica ed è soggetta a modifiche.

Nota: tutte le funzioni di questa classe sono rientranti.

Descrizione dettagliata

L'elemento ` execution mode ` all'interno di un gruppo specifica come vengono avviate le attività figlie dirette del gruppo.

Per comodità, è possibile utilizzare invece gli elementi sequential, parallel, parallelIdealThreadCountLimit o ParallelLimit.

In tutte le modalità di esecuzione, un gruppo avvia le attività nell'ordine in cui compaiono.

Se un elemento figlio di un gruppo è a sua volta un gruppo, il gruppo figlio esegue le proprie attività secondo la propria modalità di esecuzione.

Vedi anche sequential, parallel, parallelIdealThreadCountLimit e ParallelLimit.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.