TaskInterface Classclass Tasking::TaskInterface
TaskInterface is the abstract base class for implementing custom task adapters. More...
|start() = 0
To implement a custom task adapter, derive your adapter from the
TaskAdapter<Task> class template. TaskAdapter automatically creates and destroys the custom task instance and associates the adapter with a given
Member Function Documentation
Emit this signal from the
TaskAdapter<Task>'s subclass, when the
Task is finished. Pass
true as a success argument when the task finishes with success; otherwise, when an error occurs, pass
This method is called by the running TaskTree for starting the
Task instance. Reimplement this method in
TaskAdapter<Task>'s subclass in order to start the associated task.
Use TaskAdapter::task() to access the associated
© 2023 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.