ThreadWeaver
ThreadWeaver::InConstructionState Class Reference
InConstructionState handles the calls to the WeaverImpl object until the constructor has finished. More...
#include <InConstructionState.h>
Public Member Functions | |
| virtual Job * | applyForWork (Thread *th, Job *previous) |
| InConstructionState (WeaverInterface *weaver) | |
| virtual void | resume () |
| StateId | stateId () const |
| virtual void | suspend () |
| virtual void | waitForAvailableJob (Thread *th) |
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
| ThreadWeaver::InConstructionState::InConstructionState | ( | WeaverInterface * | weaver | ) | [inline, explicit] |
Definition at line 48 of file InConstructionState.h.
Member Function Documentation
Assign a job to an idle thread.
Implements ThreadWeaver::State.
Definition at line 46 of file InConstructionState.cpp.
| void ThreadWeaver::InConstructionState::resume | ( | ) | [virtual] |
Resume job processing.
Implements ThreadWeaver::State.
Definition at line 41 of file InConstructionState.cpp.
| StateId ThreadWeaver::InConstructionState::stateId | ( | ) | const [virtual] |
| void ThreadWeaver::InConstructionState::suspend | ( | ) | [virtual] |
Suspend job processing.
Implements ThreadWeaver::State.
Definition at line 36 of file InConstructionState.cpp.
| void ThreadWeaver::InConstructionState::waitForAvailableJob | ( | Thread * | th | ) | [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:
KDE 4.3 API Reference