source: trunk/MagicSoft/AMC/activemirrorcontrol/activemirrorcontrol/motorthreaddialog.h@ 9463

Last change on this file since 9463 was 3401, checked in by merck, 21 years ago
nitial checkin of AMC project
File size: 812 bytes
Line 
1// MotorThreadDialog.h: Schnittstelle für die Klasse MotorThreadController.
2//
3//////////////////////////////////////////////////////////////////////
4
5#ifndef MOTORTHREADDIALOG_H
6#define MOTORTHREADDIALOG_H
7
8
9#include "motorthreaddialogbase.h"
10#include <qlist.h>
11#include <qthread.h>
12
13#define MAX_THREADS 8
14
15//class MagicMirror;
16class MotorThreadController;
17class QSemaphore;
18
19class MotorThreadDialog : public MotorThreadDlgBase, public QThread
20{
21 Q_OBJECT
22public:
23 MotorThreadDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags f = 0 );
24 ~MotorThreadDialog();
25
26public slots:
27 void startThread();
28
29public:
30 void customEvent( QCustomEvent* e );
31 void outputMessage( QString p_qsMsg );
32
33private:
34 QSemaphore* m_pThreadSemaphore;
35 bool m_zOn;
36protected:
37 virtual void run();
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.