22 #ifndef PLUGINS_SPIDMX_SPIDMXTHREAD_H_ 23 #define PLUGINS_SPIDMX_SPIDMXTHREAD_H_ 30 #include "ola/thread/Thread.h" 42 void UnregisterPort();
54 unsigned int m_blocklength;
57 int m_registered_ports;
65 std::vector<uint8_t> m_spi_rx_buffer;
67 std::vector<uint8_t> m_spi_tx_buffer;
70 std::auto_ptr<Callback0<void> > m_receive_callback;
81 #endif // PLUGINS_SPIDMX_SPIDMXTHREAD_H_
Used to hold a single universe of DMX data.
Definition: DmxBuffer.h:49
Definition: SPIDMXThread.h:36
A class used to hold a single universe of DMX data.
const DmxBuffer & GetDmxInBuffer() const
Get DMX Buffer.
Definition: SPIDMXThread.cpp:90
bool Stop()
Definition: SPIDMXThread.cpp:68
void RegisterPort()
Definition: SPIDMXThread.cpp:49
void * Run()
Definition: SPIDMXThread.cpp:121
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
bool SetReceiveCallback(Callback0< void > *callback)
Set the callback to be called when the receive buffer is updated.
Definition: SPIDMXThread.cpp:100
bool WriteDMX(const DmxBuffer &buffer)
Definition: SPIDMXThread.cpp:80