QlightRead package | ESS final project 1.22-beta

/home/ron/Desktop/Frontend/src/serial.h

Go to the documentation of this file.
00001 
00043 #ifndef SERIAL_H
00044 #define SERIAL_H
00045 
00046 
00047 #include <QThread>
00048 #include <qextserialport.h>
00049 
00050 class SerialPortReader : public QThread
00051 {
00052    Q_OBJECT
00053 
00054 public:
00055    SerialPortReader( QObject * parent = 0 );
00056    ~SerialPortReader();
00057    void run();
00058    bool isOpen();
00059 
00060 signals:
00061    void serialSignal( int* sgnVal );
00062 
00063 private:
00064    QextSerialPort* COM_Port;
00065 };
00066 
00067 #endif // SERIAL_H
 All Classes Files Functions Variables Defines