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

ThreadWeaver

ThreadWeaver::JobSequence

ThreadWeaver::JobSequence Class Reference

A JobSequence is a vector of Jobs that will be executed in a sequence. More...

#include <JobSequence.h>

Inheritance diagram for ThreadWeaver::JobSequence:

Inheritance graph
[legend]

List of all members.


Public Member Functions

 JobSequence (QObject *parent=0)

Protected Member Functions

void aboutToBeQueued (WeaverInterface *weaver)
void internalJobDone (Job *)

Detailed Description

A JobSequence is a vector of Jobs that will be executed in a sequence.

It is implemented by automatically creating the necessary dependencies between the Jobs in the sequence.

JobSequence provides a handy cleanup and unwind mechanism: the stop() slot. If it is called, the processing of the sequence will stop, and all its remaining Jobs will be dequeued.

Definition at line 45 of file JobSequence.h.


Constructor & Destructor Documentation

JobSequence::JobSequence ( QObject *  parent = 0  )  [explicit]

Definition at line 36 of file JobSequence.cpp.


Member Function Documentation

void JobSequence::aboutToBeQueued ( WeaverInterface *  weaver  )  [protected, virtual]

Overload to queue the sequence.

Reimplemented from ThreadWeaver::JobCollection.

Definition at line 41 of file JobSequence.cpp.

void JobSequence::internalJobDone ( Job *  job  )  [protected, virtual]

reimplemented

Reimplemented from ThreadWeaver::JobCollection.

Definition at line 61 of file JobSequence.cpp.


The documentation for this class was generated from the following files:
  • JobSequence.h
  • JobSequence.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
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
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