libXDispatch 0.3.1
Public Member Functions
QIterationRunnable Class Reference

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

Inheritance diagram for QIterationRunnable:

List of all members.

Public Member Functions

 QIterationRunnable ()
 Constructs a new QBlockRunnable passing the given parameter.
 QIterationRunnable (size_t index)
 QIterationRunnable (const QIterationRunnable &)
 ~QIterationRunnable ()
virtual void run ()
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.


Constructor & Destructor Documentation

QIterationRunnable::QIterationRunnable ( )

Constructs a new QBlockRunnable passing the given parameter.

QIterationRunnable::QIterationRunnable ( size_t  index)
QIterationRunnable::QIterationRunnable ( const QIterationRunnable )
QIterationRunnable::~QIterationRunnable ( )

Member Function Documentation

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

Implemented in QIterationBlockRunnable.


The documentation for this class was generated from the following file:

Generated on Wed Feb 22 2012 19:43:56 for libXDispatch by Doxygen 1.7.4
Content © 2011-2012 MLBA (about | privacy) – Design © 2010-2012 Emzeat. All Rights reserved.