source: GTP/trunk/Lib/Vis/Preprocessing/src/QtPreprocessorThread.h @ 1457

Revision 1457, 519 bytes checked in by bittner, 18 years ago (diff)

thread updates

  • Property svn:executable set to *
Line 
1#ifndef __QT_PREPROCESSOR_THREAD_H
2#define __QT_PREPROCESSOR_THREAD_H
3
4
5#include <QThread>
6#include "PreprocessorThread.h"
7
8namespace GtpVisibilityPreprocessor {
9
10class Preprocessor;
11
12class QtPreprocessorThread : public PreprocessorThread, QThread
13{
14public:
15  QtPreprocessorThread(Preprocessor *p, QObject *parent = 0);
16  ~QtPreprocessorThread();
17 
18  void InitThread() {}
19  void RunThread() {
20        start(QThread::LowPriority);
21  }
22 
23 
24protected:
25  void run() {
26        Main();
27  }
28};
29
30}
31
32#endif
Note: See TracBrowser for help on using the repository browser.