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);
90 const uint8_t m_channel;
97 #endif // PLUGINS_OPENPIXELCONTROL_OPCPORT_H_
An Open Pixel Control server.
Definition: OPCServer.h:44
#define DISALLOW_COPY_AND_ASSIGN(TypeName)
Creates dummy copy constructor and assignment operator declarations.
Definition: Macro.h:44
Used to hold a single universe of DMX data.
Definition: DmxBuffer.h:49
bool WriteDMX(const DmxBuffer &buffer, uint8_t priority)
Write DMX data to this port.
Definition: OPCPort.cpp:73
std::string Description() const
Fetch the string description for a Port.
Definition: OPCPort.cpp:78
A class used to hold a single universe of DMX data.
Definition: PluginAdaptor.h:41
OPCOutputPort(OPCClientDevice *parent, uint8_t channel, class OPCClient *client)
Create a new OPC Output Port.
Definition: OPCPort.cpp:65
Definition: OPCDevice.h:69
Definition: OPCDevice.h:39
An OutputPort for the OPC plugin.
Definition: OPCPort.h:71
An Open Pixel Control client.
Definition: OPCClient.h:49
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44