ThreadWeaver
#include <WorkingHardState.h>
Public Member Functions | |
WorkingHardState (WeaverImpl *weaver) | |
void | activated () |
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 () |
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
Definition at line 43 of file WorkingHardState.h.
Constructor & Destructor Documentation
|
inlineexplicit |
Definition at line 46 of file WorkingHardState.h.
Member Function Documentation
|
virtual |
Overload.
Reimplemented from ThreadWeaver::State.
Definition at line 42 of file WorkingHardState.cpp.
Assign a job to an idle thread.
Implements ThreadWeaver::State.
Definition at line 56 of file WorkingHardState.cpp.
|
virtual |
Resume job processing.
Implements ThreadWeaver::State.
Definition at line 52 of file WorkingHardState.cpp.
|
virtual |
|
virtual |
Suspend job processing.
Implements ThreadWeaver::State.
Definition at line 47 of file WorkingHardState.cpp.
|
virtual |
Wait (by suspending the calling thread) until a job becomes available.
Implements ThreadWeaver::State.
Definition at line 75 of file WorkingHardState.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.