qavrg 0.0.28
qavrgacquisitionthread.h
Go to the documentation of this file.
00001 #ifndef QAVRGACQUISITIONTHREAD_H
00002 #define QAVRGACQUISITIONTHREAD_H
00003 
00004 #include <QThread>
00005 
00006 class QavrgApplication;
00007 class QavrgAcquisition;
00008 
00009 class QavrgAcquisitionThread : public QThread
00010 {
00011   Q_OBJECT;
00012 
00013 public:
00014   QavrgAcquisitionThread(QavrgApplication *app);
00015   ~QavrgAcquisitionThread();
00016 
00017   void shutdown();
00018 
00019   QavrgAcquisition *acquisition();
00020   void sleepFor(double secs);
00021 
00022 signals:
00023   void printMessage(QString msg);
00024 
00025 protected:
00026   void run();
00027 
00028 private:
00029   QavrgApplication  *m_Application;
00030   QavrgAcquisition  *m_Acquisition;
00031 };
00032 
00033 #endif // QAVRGACQUISITIONTHREAD_H