ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
|
The MacroReader class creates a worker thread object. It does a connect do delayed deletion of thread local variables in the case the worker thread terminates. More...
#include <src/ckb/macroreader.h>
Public Member Functions | |
MacroReader () | |
MacroReader Calling MacroReader without params is not allowed. More... | |
MacroReader (int macroNumber, QString macroPath, QPlainTextEdit *macBox, QPlainTextEdit *macText) | |
MacroReader This is the only allowed constructor. It only calls startWorkInAThread() with the four params. More... | |
~MacroReader () | |
void | startWorkInAThread (int macroNumber, QString macroPath, QPlainTextEdit *macBox, QPlainTextEdit *macText) |
startWorkInAThread This member function creates the new thread object and starts it with the four params. More... | |
Private Attributes | |
MacroReaderThread * | macroReaderThread |
Definition at line 87 of file macroreader.h.
MacroReader::MacroReader | ( | ) |
Definition at line 9 of file macroreader.cpp.
MacroReader::MacroReader | ( | int | macroNumber, |
QString | macroPath, | ||
QPlainTextEdit * | macBox, | ||
QPlainTextEdit * | macText | ||
) |
macroNumber | |
macroPath | |
macBox | |
macText |
Definition at line 13 of file macroreader.cpp.
References startWorkInAThread().
MacroReader::~MacroReader | ( | ) |
Definition at line 16 of file macroreader.cpp.
void MacroReader::startWorkInAThread | ( | int | macroNumber, |
QString | macroPath, | ||
QPlainTextEdit * | macBox, | ||
QPlainTextEdit * | macText | ||
) |
macroNumber | |
macroPath | |
macBox | |
macText |
Definition at line 18 of file macroreader.cpp.
References macroReaderThread.
Referenced by MacroReader().
|
private |
Definition at line 123 of file macroreader.h.
Referenced by startWorkInAThread().