|
static ThreadId | Self () |
| Returns the current thread's id. More...
|
|
◆ GetDmxInBuffer()
const DmxBuffer & ola::plugin::spidmx::SPIDMXThread::GetDmxInBuffer |
( |
| ) |
const |
Get DMX Buffer.
- Returns
- DmxBuffer with current input values.
◆ RegisterPort()
void ola::plugin::spidmx::SPIDMXThread::RegisterPort |
( |
| ) |
|
This thread only has to run if ports using it are patched to a universe. Thus, they must register and unregister to notify this thread.
◆ Run()
void * ola::plugin::spidmx::SPIDMXThread::Run |
( |
| ) |
|
|
virtual |
◆ SetReceiveCallback()
bool ola::plugin::spidmx::SPIDMXThread::SetReceiveCallback |
( |
Callback0< void > * |
callback | ) |
|
Set the callback to be called when the receive buffer is updated.
- Parameters
-
callback | The callback to call or NULL to unregister. |
- Returns
- false if there was an error, true otherwise.
◆ Stop()
bool ola::plugin::spidmx::SPIDMXThread::Stop |
( |
| ) |
|
◆ WriteDMX()
bool ola::plugin::spidmx::SPIDMXThread::WriteDMX |
( |
const DmxBuffer & |
buffer | ) |
|
The documentation for this class was generated from the following files: