Internal Job execution object. More...
#include <OpenFlipperThread.hh>
Public Slots | |
| void | startJobProcessing () |
| slot to start processing | |
Signals | |
| void | process () |
| connection to actual processing function | |
| void | finished () |
| Job done. | |
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.
| void OpenFlipperJob::finished | ( | ) | [signal] |
| 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().