public:
virtual void run();
- void init(QObject *parent, QString device);
+ void init(QObject *parent, const QString &device);
QObject *m_parent;
int shuttlevalue;
- bool shuttlechange;
+ int shuttlecounter;
unsigned short jogvalue;
bool isWorking();
- bool stop_me;
+ volatile bool stop_me;
QString m_device;
private:
ShuttleThread m_shuttleProcess;
signals:
- void rewind1();
- void forward1();
- void rewind(double);
- void forward(double);
- void stop();
+ void jogBack();
+ void jogForward();
+ void shuttlePos(int);
void button(int);
};