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: