ThreadWeaver
ThreadWeaver::JobSequence Class Reference
#include <JobSequence.h>
Inheritance diagram for ThreadWeaver::JobSequence:

Detailed Description
A JobSequence is a vector of Jobs that will be executed in a sequence.It is implemented by automatically creating the necessary dependencies between the Jobs in the sequence.
JobSequence 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.
Definition at line 45 of file JobSequence.h.
Public Member Functions | |
JobSequence (QObject *parent=0) | |
Protected Member Functions | |
void | aboutToBeQueued (WeaverInterface *weaver) |
void | internalJobDone (Job *) |
Constructor & Destructor Documentation
JobSequence::JobSequence | ( | QObject * | parent = 0 |
) | [explicit] |
Definition at line 36 of file JobSequence.cpp.
Member Function Documentation
void JobSequence::aboutToBeQueued | ( | WeaverInterface * | weaver | ) | [protected, virtual] |
Overload to queue the sequence.
Reimplemented from ThreadWeaver::JobCollection.
Definition at line 41 of file JobSequence.cpp.
void JobSequence::internalJobDone | ( | Job * | job | ) | [protected, virtual] |
reimplemented
Reimplemented from ThreadWeaver::JobCollection.
Definition at line 61 of file JobSequence.cpp.
The documentation for this class was generated from the following files: