• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

ThreadWeaver

ThreadWeaver::InConstructionState

ThreadWeaver::InConstructionState Class Reference

#include <InConstructionState.h>

Inheritance diagram for ThreadWeaver::InConstructionState:

Inheritance graph
[legend]

List of all members.


Detailed Description

InConstructionState handles the calls to the WeaverImpl object until the constructor has finished.

Definition at line 45 of file InConstructionState.h.


Public Member Functions

 InConstructionState (WeaverInterface *weaver)
virtual void suspend ()
virtual void resume ()
virtual Job * applyForWork (Thread *th, Job *previous)
virtual void waitForAvailableJob (Thread *th)
StateId stateId () const

Constructor & Destructor Documentation

ThreadWeaver::InConstructionState::InConstructionState ( WeaverInterface *  weaver  )  [inline, explicit]

Definition at line 48 of file InConstructionState.h.


Member Function Documentation

void ThreadWeaver::InConstructionState::suspend (  )  [virtual]

Suspend job processing.

Implements ThreadWeaver::State.

Definition at line 36 of file InConstructionState.cpp.

void ThreadWeaver::InConstructionState::resume (  )  [virtual]

Resume job processing.

Implements ThreadWeaver::State.

Definition at line 41 of file InConstructionState.cpp.

Job * ThreadWeaver::InConstructionState::applyForWork ( Thread *  th,
Job *  previous 
) [virtual]

Assign a job to an idle thread.

Implements ThreadWeaver::State.

Definition at line 46 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.

StateId ThreadWeaver::InConstructionState::stateId (  )  const [virtual]

reimpl

Implements ThreadWeaver::State.

Definition at line 65 of file InConstructionState.cpp.


The documentation for this class was generated from the following files:
  • InConstructionState.h
  • InConstructionState.cpp

ThreadWeaver

Skip menu "ThreadWeaver"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   WTF
  • KJSEmbed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  •   core
  • Phonon
  •   Backend
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal