21#ifndef PLUGINS_OPENDMX_OPENDMXPORT_H_
22#define PLUGINS_OPENDMX_OPENDMXPORT_H_
27#include "plugins/opendmx/OpenDmxDevice.h"
28#include "plugins/opendmx/OpenDmxThread.h"
38 const std::string &path)
45 ~OpenDmxOutputPort() {
49 std::string
Description()
const {
return "Open DMX at " + m_path; }
52 return m_thread.WriteDmx(buffer);
A class used to hold a single universe of DMX data.
#define OLA_UNUSED
Mark unused arguments & types.
Definition Macro.h:63
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
Used to hold a single universe of DMX data.
Definition DmxBuffer.h:49
Definition OpenDmxDevice.h:31
std::string Description() const
Fetch the string description for a Port.
Definition OpenDmxPort.h:49
bool WriteDMX(const DmxBuffer &buffer, uint8_t priority)
Write DMX data to this port.
Definition OpenDmxPort.h:51
Definition OpenDmxThread.h:32
Code for the Enttec OpenDMX.
Code for supported devices and protocols.
The namespace containing all OLA symbols.
Definition Credentials.cpp:44