ThreadWeaver
destructedstate.h
DestructedState is only active after the thread have been destroyed by the destructor,...
Definition destructedstate.h:24
int queueLength() const override
Returns the number of pending jobs.
Definition destructedstate.cpp:75
int maximumNumberOfThreads() const override
Get the maximum number of threads this Weaver may start.
Definition destructedstate.cpp:38
void requestAbort() override
Request aborts of the currently executed jobs.
Definition destructedstate.cpp:80
void enqueue(const QList< JobPointer > &job) override
Queue a vector of jobs.
Definition destructedstate.cpp:48
bool isEmpty() const override
Is the queue empty? The queue is empty if no more jobs are queued.
Definition destructedstate.cpp:65
bool isIdle() const override
Is the weaver idle? The weaver is idle if no jobs are queued and no jobs are processed by the threads...
Definition destructedstate.cpp:70
void setMaximumNumberOfThreads(int cap) override
Set the maximum number of threads this Weaver object may start.
Definition destructedstate.cpp:34
int currentNumberOfThreads() const override
Returns the current number of threads in the inventory.
Definition destructedstate.cpp:43
QueueSignals declares the Qt signals shared by the Queue and Weaver classes.
Definition queuesignals.h:24
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:38 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.