Implemented basic functionality
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#include "dmxcontrollerthread.h"
|
||||
|
||||
#include "dmxcontroller.h"
|
||||
|
||||
DmxControllerThread::DmxControllerThread(DmxController &controller) :
|
||||
QThread{&controller},
|
||||
m_controller{controller}
|
||||
{
|
||||
}
|
||||
|
||||
void DmxControllerThread::run()
|
||||
{
|
||||
while (!isInterruptionRequested())
|
||||
m_controller.sendDmxBuffer();
|
||||
}
|
||||
Reference in New Issue
Block a user