OpenFlipperJob Class Reference

Internal Job execution object. More...

#include <OpenFlipperThread.hh>

List of all members.

Public Slots

void startJobProcessing ()
 slot to start processing

Signals

void process ()
 connection to actual processing function
void finished ()
 Job done.

Detailed Description

Internal Job execution object.

This class is used to start a process within a thread. The thread object itself lives in the event queue of the object that crreated the thread. So every signal or slot within the qthread object will be dispatched in the core event loop and therefore lock the gui. Objects created in the qthread will run in the threads event queue as well as their signals and slots. So qthread uses this object to actually run arbitrary threads inside the threads event queue.

Definition at line 217 of file OpenFlipperThread.hh.


Member Function Documentation

void OpenFlipperJob::finished (  )  [signal]

Job done.

This signal is emitted, when the job has finished

Referenced by startJobProcessing().

void OpenFlipperJob::process (  )  [signal]

connection to actual processing function

This signal has to be connected via a Qt::DirectConnection to an arbitrary slot. This slot will be executed in the local event queue. If this object is created in a QThread, than the slot will be run inside this thread.

Referenced by startJobProcessing().

void OpenFlipperJob::startJobProcessing (  )  [slot]

slot to start processing

If this slot is called, the slot connected to process() will be executed in the current thread.

Definition at line 122 of file OpenFlipperThread.cc.

References finished(), and process().


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

acg pic Project OpenFlipper, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .