Made 'syncFromDevice' work again.
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
#include <QMutex>
|
||||
#include <atomic>
|
||||
|
||||
#include <bcdatavalue.h>
|
||||
#include <bcvalue.h>
|
||||
#include <bccandrivertinycan.h>
|
||||
|
||||
// template ...
|
||||
@@ -56,17 +56,17 @@ public:
|
||||
public slots:
|
||||
|
||||
void onToggleConnectionState( bool connect );
|
||||
void enqueueValueOp(BC::OpID opID, const BCDataValue* value );
|
||||
void enqueueValueOp(BC::OpID opID, const BCValue* value );
|
||||
void processValueOp(BC::OpID opID);
|
||||
|
||||
signals:
|
||||
|
||||
void commandFinished(int id, bool success);
|
||||
void valueUpdated(BCDevice::ID deviceID, int index, BC::State state, const QString& newValue="" );
|
||||
void messageLogged(const QString& msg);
|
||||
|
||||
private:
|
||||
|
||||
using BCDataQueue = QQueue<const BCDataValue*>;
|
||||
using BCDataQueue = QQueue<const BCValue*>;
|
||||
|
||||
BCDataQueue _valueQueue;
|
||||
QMutex _mutex;
|
||||
|
||||
Reference in New Issue
Block a user