11#ifndef ShuttingDownState_H
12#define ShuttingDownState_H
14#include "weaverimplstate.h"
QueueSignals declares the Qt signals shared by the Queue and Weaver classes.
Definition queuesignals.h:24
ShuttingDownState is enabled when the Weaver destructor is entered.
Definition shuttingdownstate.h:24
StateId stateId() const override
reimpl
void waitForAvailableJob(Thread *th) override
Wait (by suspending the calling thread) until a job becomes available.
void shutDown() override
Shut down the queue.
void resume() override
Resume job processing.
void suspend() override
Suspend job processing.
JobPointer applyForWork(Thread *th, bool wasBusy) override
Assign a job to an idle thread.
Thread represents a worker thread in a Queue's inventory.
Definition thread.h:28
Base class for all WeaverImpl states.
Definition weaverimplstate.h:21
Weaver * weaver() override
Provide correct return type for WeaverImpl states.