dRonin
adbada4
dRonin GCS
|
#include <rawhid.h>
Public Member Functions | |
RawHIDWriteThread (hid_device *device) | |
virtual | ~RawHIDWriteThread () |
int | pushDataToWrite (const char *data, int size) |
qint64 | getBytesToWrite () |
void | stop () |
Tell the thread to stop and make sure it wakes up immediately. More... | |
Protected Member Functions | |
void | run () |
Protected Attributes | |
QByteArray | m_writeBuffer |
QMutex | m_writeBufMtx |
QWaitCondition | m_newDataToWrite |
hid_device * | m_handle |
bool | m_running |
This class is nearly the same than RawHIDReadThread but for writing