21 #ifndef PLUGINS_OPENPIXELCONTROL_OPCPORT_H_
22 #define PLUGINS_OPENPIXELCONTROL_OPCPORT_H_
26 #include "olad/Port.h"
27 #include "plugins/openpixelcontrol/OPCDevice.h"
31 namespace openpixelcontrol {
52 const DmxBuffer &ReadDMX()
const {
return m_buffer; }
54 bool WriteDMX(
const DmxBuffer &buffer, uint8_t priority);
59 const uint8_t m_channel;
63 void NewData(uint8_t command,
const uint8_t *data,
unsigned int length);
86 std::string Description()
const;
90 const uint8_t m_channel;
97 #endif // PLUGINS_OPENPIXELCONTROL_OPCPORT_H_