QBarrier Class
An asynchronous task that finishes on demand. More...
| Header: | #include <qbarriertask.h> |
| Inherits: | QObject |
| Inherited By: |
Note: All functions in this class are reentrant.
Signals
| void | done(QtTaskTree::DoneResult result) |
Detailed Description
QBarrier waits for subsequent calls to advance() to reach the barrier's limit (1 by default). It finishes with DoneResult::Success.
It's often used in QTaskTree recipes to hold the execution of subsequent sequential tasks until some other running task delivers some data which are needed to setup the subsequent tasks.
Member Function Documentation
[private signal] void QBarrier::done(QtTaskTree::DoneResult result)
This signal is emitted when the barrier finished, passing the final result of the execution.
Note: This is a private signal. It can be used in signal connections but cannot be emitted by the user.
Copyright © The Qt Company Ltd. and other contributors. 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.