ThreadWeaver::Sequence Class
class ThreadWeaver::SequenceA Sequence is a vector of Jobs that will be executed in a sequence. More...
| Header: | #include <ThreadWeaver/Sequence> |
| CMake: | find_package(KF6 REQUIRED COMPONENTS ThreadWeaver)target_link_libraries(mytarget PRIVATE KF6::ThreadWeaver) |
| Inherits: | ThreadWeaver::Collection |
Public Functions
| Sequence() |
Detailed Description
It is implemented by automatically creating the necessary dependencies between the Jobs in the sequence.
Sequence provides a handy cleanup and unwind mechanism: the stop() slot. If it is called, the processing of the sequence will stop, and all its remaining Jobs will be dequeued. A Sequence is the first element of itself.