• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • kdelibs
  • KDE Home
  • Contact Us
 

ThreadWeaver

  • ThreadWeaver
  • InConstructionState
Public Member Functions

ThreadWeaver::InConstructionState Class Reference

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

#include <InConstructionState.h>

Inheritance diagram for ThreadWeaver::InConstructionState:
Inheritance graph
[legend]

List of all members.

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)

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

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

Assign a job to an idle thread.

Implements ThreadWeaver::State.

Definition at line 49 of file InConstructionState.cpp.

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

Resume job processing.

Implements ThreadWeaver::State.

Definition at line 44 of file InConstructionState.cpp.

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

reimpl

Implements ThreadWeaver::State.

Definition at line 68 of file InConstructionState.cpp.

builddir build BUILD kdelibs threadweaver Weaver InConstructionState cpp builddir build BUILD kdelibs threadweaver Weaver InConstructionState cpp builddir build BUILD kdelibs threadweaver Weaver InConstructionState cpp void ThreadWeaver::InConstructionState::suspend ( ) [virtual]

Suspend job processing.

Implements ThreadWeaver::State.

Definition at line 39 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 63 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
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
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