qavrg 0.0.28
qavrgscriptingthread.h
Go to the documentation of this file.
00001 #ifndef QAVRGSCRIPTINGTHREAD_H
00002 #define QAVRGSCRIPTINGTHREAD_H
00003 
00004 #include <QThread>
00005 
00006 class QavrgApplication;
00007 class QavrgWindow;
00008 class QavrgAcquisition;
00009 class QavrgScriptingEngine;
00010 
00011 class QavrgScriptingThread : public QThread
00012 {
00013   Q_OBJECT;
00014 
00015 public:
00016   QavrgScriptingThread(QavrgApplication *app, QavrgWindow *win, QavrgAcquisition *acq);
00017   ~QavrgScriptingThread();
00018 
00019   void shutdown();
00020   QavrgScriptingEngine  *scriptingEngine() const;
00021 
00022 protected:
00023   void run();
00024 
00025 signals:
00026   void printMessage(QString msg);
00027 
00028 private:
00029   QavrgScriptingEngine *m_ScriptingEngine;
00030   QavrgApplication     *m_Application;
00031   QavrgWindow          *m_Window;
00032   QavrgAcquisition     *m_Acquisition;
00033 };
00034 
00035 #endif // QAVRGSCRIPTINGTHREAD_H