ThreadWeaver
job.cpp
void defaultBegin(const JobPointer &job, Thread *thread) override
Perform standard tasks before starting the execution of a job.
Definition: job.cpp:119
void aboutToBeDequeued_locked(QueueAPI *api) override
Called from aboutToBeDequeued() while the mutex is being held.
Definition: job.cpp:146
Executor * setExecutor(Executor *executor) override
Set the Executor object that is supposed to run the job.
Definition: job.cpp:88
void removeQueuePolicy(QueuePolicy *) override
Remove a queue policy from this job.
Definition: job.cpp:158
QList< QueuePolicy * > queuePolicies() const override
Return the queue policies assigned to this Job.
Definition: job.cpp:167
void defaultEnd(const JobPointer &job, Thread *thread) override
Perform standard task after the execution of a job.
Definition: job.cpp:123
Q_SCRIPTABLE CaptureState status()
void aboutToBeQueued(QueueAPI *api) override
The job is about to be added to the weaver's job queue.
Definition: job.cpp:128
void aboutToBeDequeued(QueueAPI *api) override
This Job is about the be dequeued from the weaver's job queue.
Definition: job.cpp:139
void blockingExecute() override
Perform the job synchronously in the current thread.
Definition: job.cpp:83
bool isFinished() const override
Returns true if the jobs's execute method finished.
Definition: job.cpp:183
QueuePolicy is an interface for customizations of the queueing behaviour of jobs.
Definition: queuepolicy.h:38
Thread represents a worker thread in a Queue's inventory.
Definition: thread.h:27
void aboutToBeQueued_locked(QueueAPI *api) override
Called from aboutToBeQueued() while the mutex is being held.
Definition: job.cpp:135
Executor * executor() const override
Returns the executor currently set on the Job.
Definition: job.cpp:93
bool success() const override
Return whether the Job finished successfully or not.
Definition: job.cpp:114
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 30 2023 04:07:54 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Sep 30 2023 04:07:54 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.