24 #include <QWaitCondition> 25 #include <QStringList> 28 class MvcpThread :
public QThread
32 explicit MvcpThread(
const QString& address, quint16 port, QObject *parent = 0);
36 void cls(QString path, QObject *parent);
37 void usta(quint8 unit);
40 void ulsResult(QStringList);
41 void clsResult(QObject* parent, QObjectList* children);
42 void ustaResult(QObject*);
49 QWaitCondition m_cond;
51 QObjectList m_commands;
60 void do_uls(
mvcp, QObject*);
61 void do_cls(
mvcp, QObject*);
62 void do_usta(
mvcp, QObject*);
65 #endif // MVCPTHREAD_H