ThreadWeaver
#include <InConstructionState.h>
Public Member Functions | |
| InConstructionState (WeaverInterface *weaver) | |
| virtual Job * | applyForWork (Thread *th, Job *previous) |
| virtual void | resume () |
| StateId | stateId () const |
| virtual void | suspend () |
| virtual void | waitForAvailableJob (Thread *th) |
| Public Member Functions inherited from ThreadWeaver::StateImplementation | |
| StateImplementation (WeaverInterface *weaver) | |
| Public Member Functions inherited from ThreadWeaver::State | |
| State (WeaverInterface *weaver) | |
| virtual | ~State () |
| virtual void | activated () |
| QString | stateName () const |
Additional Inherited Members | |
| Protected Member Functions inherited from ThreadWeaver::StateImplementation | |
| WeaverImpl * | weaver () |
| Protected Member Functions inherited from ThreadWeaver::State | |
| WeaverInterface * | weaver () |
| Protected Attributes inherited from ThreadWeaver::State | |
| Private *const | d |
Detailed Description
InConstructionState handles the calls to the WeaverImpl object until the constructor has finished.
Definition at line 45 of file InConstructionState.h.
Constructor & Destructor Documentation
◆ InConstructionState()
|
inlineexplicit |
Definition at line 48 of file InConstructionState.h.
Member Function Documentation
◆ applyForWork()
Assign a job to an idle thread.
Implements ThreadWeaver::State.
Definition at line 46 of file InConstructionState.cpp.
◆ resume()
|
virtual |
Resume job processing.
Implements ThreadWeaver::State.
Definition at line 41 of file InConstructionState.cpp.
◆ stateId()
|
virtual |
◆ suspend()
|
virtual |
Suspend job processing.
Implements ThreadWeaver::State.
Definition at line 36 of file InConstructionState.cpp.
◆ waitForAvailableJob()
|
virtual |
Wait (by suspending the calling thread) until a job becomes available.
Implements ThreadWeaver::State.
Definition at line 60 of file InConstructionState.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2026 The KDE developers.
Generated on by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.