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

ThreadWeaver

  • ThreadWeaver
  • DestructedState
Public Member Functions | List of all members
ThreadWeaver::DestructedState Class Reference

#include <DestructedState.h>

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

Public Member Functions

 DestructedState (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

DestructedState is only active after the thread have been destroyed by the destructor, but before superclass destructors have finished.

Definition at line 43 of file DestructedState.h.

Constructor & Destructor Documentation

ThreadWeaver::DestructedState::DestructedState ( WeaverInterface *  weaver)
inlineexplicit

Definition at line 46 of file DestructedState.h.

Member Function Documentation

Job * DestructedState::applyForWork ( Thread *  th,
Job *  previous 
)
virtual

Assign a job to an idle thread.

Implements ThreadWeaver::State.

Definition at line 41 of file DestructedState.cpp.

void DestructedState::resume ( )
virtual

Resume job processing.

Implements ThreadWeaver::State.

Definition at line 37 of file DestructedState.cpp.

StateId DestructedState::stateId ( ) const
virtual

reimpl

Implements ThreadWeaver::State.

Definition at line 50 of file DestructedState.cpp.

void DestructedState::suspend ( )
virtual

Suspend job processing.

Implements ThreadWeaver::State.

Definition at line 33 of file DestructedState.cpp.

void DestructedState::waitForAvailableJob ( Thread *  th)
virtual

Wait (by suspending the calling thread) until a job becomes available.

Implements ThreadWeaver::State.

Definition at line 46 of file DestructedState.cpp.


The documentation for this class was generated from the following files:
  • DestructedState.h
  • DestructedState.cpp
This file is part of the KDE documentation.
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.

ThreadWeaver

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal