21 #ifndef PLUGINS_KINET_KINETPORT_H_
22 #define PLUGINS_KINET_KINETPORT_H_
26 #include "olad/Port.h"
27 #include "plugins/kinet/KiNetDevice.h"
28 #include "plugins/kinet/KiNetNode.h"
46 return m_node->SendDMX(m_target, buffer);
50 return "Power Supply: " + m_target.
ToString();
60 #endif // PLUGINS_KINET_KINETPORT_H_
std::string Description() const
Fetch the string description for a Port.
Definition: KiNetPort.h:49
Definition: KiNetDevice.h:34
std::string ToString() const
Convert the IPV4Address to a string.
Definition: IPV4Address.cpp:98
Used to hold a single universe of DMX data.
Definition: DmxBuffer.h:49
BasicOutputPort(AbstractDevice *parent, unsigned int port_id, bool start_rdm_discovery_on_patch=false, bool supports_rdm=false)
Create a new BasicOutputPort.
Definition: Port.cpp:120
Represents a IPv4 Address.
Definition: IPV4Address.h:55
#define OLA_UNUSED
Mark unused arguments & types.
Definition: Macro.h:62
Definition: KiNetPort.h:34
bool WriteDMX(const DmxBuffer &buffer, uint8_t priority)
Write DMX data to this port.
Definition: KiNetPort.h:45
Represents an IPv4 Address.
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Definition: KiNetNode.h:37