26 #ifndef PLUGINS_FTDIDMX_FTDIDMXTHREAD_H_
27 #define PLUGINS_FTDIDMX_FTDIDMXTHREAD_H_
30 #include "ola/thread/Thread.h"
46 enum TimerGranularity { UNKNOWN, GOOD, BAD };
48 TimerGranularity m_granularity;
51 unsigned int m_frequency;
56 void CheckTimeGranularity();
58 static const uint32_t DMX_MAB = 16;
59 static const uint32_t DMX_BREAK = 110;
60 static const uint32_t BAD_GRANULARITY_LIMIT = 3;
65 #endif // PLUGINS_FTDIDMX_FTDIDMXTHREAD_H_
void * Run()
The method called by the thread.
Definition: FtdiDmxThread.cpp:80
Used to hold a single universe of DMX data.
Definition: DmxBuffer.h:49
A class used to hold a single universe of DMX data.
Definition: FtdiDmxThread.h:36
bool WriteDMX(const DmxBuffer &buffer)
Copy a DMXBuffer to the output thread.
Definition: FtdiDmxThread.cpp:68
bool Stop()
Stop this thread.
Definition: FtdiDmxThread.cpp:56
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Definition: FtdiWidget.h:174