ThreadWeaver
JobSequence.cpp
Go to the documentation of this file.
void addDependency(Job *jobA, Job *jobB)
Add jobB as a dependency of jobA.
Definition: DependencyPolicy.cpp:74
const int jobListLength()
Return the number of jobs in the joblist.
Definition: JobCollection.cpp:246
static DependencyPolicy & instance()
Definition: DependencyPolicy.cpp:152
virtual bool success() const
Return whether the Job finished successfully or not.
Definition: Job.cpp:144
#define P_ASSERT(x)
P_ASSERT ensures that error messages occur in the correct order.
Definition: DebuggingAids.h:103
void stop(ThreadWeaver::Job *job)
Stop processing, dequeue all remaining Jobs.
Definition: JobCollection.cpp:155
void aboutToBeQueued(WeaverInterface *weaver)
Overload to queue the collection.
Definition: JobCollection.cpp:167
Job * jobAt(int i)
Return a reference to the job in the job list at position i.
Definition: JobCollection.cpp:239
WeaverInterface provides a common interface for weaver implementations.
Definition: WeaverInterface.h:61
A JobCollection is a vector of Jobs that will be queued together.
Definition: JobCollection.h:49
A Job is a simple abstraction of an action that is to be executed in a thread context.
Definition: Job.h:65
void aboutToBeQueued(WeaverInterface *weaver)
Overload to queue the sequence.
Definition: JobSequence.cpp:41
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.