XDispatch 0.7.2
Public Member Functions
QIterationRunnable Class Reference

Provides a QRunnable Implementation for passing a single parameter to the actual run() implementation. More...

#include <QtDispatch/qiterationrunnable.h>

+ Inheritance diagram for QIterationRunnable:

List of all members.

Public Member Functions

 QIterationRunnable ()
 Constructs a new QBlockRunnable passing the given parameter.
 QIterationRunnable (const QIterationRunnable &o)
virtual void run (size_t index)=0

Detailed Description

Provides a QRunnable Implementation for passing a single parameter to the actual run() implementation.

This can for example be used in a case when for each iteration of a loop a new QRunnable will be created and you want to know during the execution of each runnable at which iteration it was created.

Definition at line 48 of file qiterationrunnable.h.


Constructor & Destructor Documentation

Constructs a new QBlockRunnable passing the given parameter.

Definition at line 55 of file qiterationrunnable.h.

Definition at line 57 of file qiterationrunnable.h.


Member Function Documentation

virtual void QIterationRunnable::run ( size_t  index) [pure virtual]

Implemented in QIterationBlockRunnable.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Sun Jan 27 2013 21:21:52 for XDispatch by Doxygen 1.7.6.1
© 2010-2013 MLBA (about | privacy) All Rights reserved.