12#include "jobpointer.h"
13#include "queuesignals.h"
15#include "weaverinterface.h"
19class QueueAPI :
public QueueSignals,
public WeaverInterface
25 explicit QueueAPI(ThreadWeaver::Private::QueueSignals_Private *d,
QObject *
parent =
nullptr);
27 virtual void shutDown_p() = 0;
28 const State *state()
const override = 0;
29 virtual State *state() = 0;
30 virtual void setMaximumNumberOfThreads_p(
int cap) = 0;
31 virtual int maximumNumberOfThreads_p()
const = 0;
32 virtual int currentNumberOfThreads_p()
const = 0;
33 virtual bool dequeue_p(JobPointer) = 0;
34 virtual void dequeue_p() = 0;
35 virtual void finish_p() = 0;
36 virtual void suspend_p() = 0;
37 virtual void resume_p() = 0;
38 virtual bool isEmpty_p()
const = 0;
39 virtual bool isIdle_p()
const = 0;
40 virtual int queueLength_p()
const = 0;
41 virtual void requestAbort_p() = 0;
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:06 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.