21 #ifndef PLUGINS_USBDMX_JARULEOUTPUTPORT_H_ 22 #define PLUGINS_USBDMX_JARULEOUTPUTPORT_H_ 26 #include "olad/Port.h" 28 #include "libs/usb/JaRulePortHandle.h" 29 #include "libs/usb/JaRuleWidget.h" 78 const unsigned int m_port_index;
87 #endif // PLUGINS_USBDMX_JARULEOUTPUTPORT_H_ Definition: Universe.h:46
bool WriteDMX(const DmxBuffer &buffer, uint8_t priority)
Write DMX data to this port.
Definition: JaRuleOutputPort.cpp:62
Represents a DMX/RDM port on a Ja Rule device.
Definition: JaRulePortHandle.h:41
RDM Commands that represent requests (GET, SET or DISCOVER).
Definition: RDMCommand.h:234
Used to hold a single universe of DMX data.
Definition: DmxBuffer.h:49
void RunFullDiscovery(ola::rdm::RDMDiscoveryCallback *callback)
This is a noop for ports that don't support RDM.
Definition: JaRuleOutputPort.cpp:73
void SendRDMRequest(ola::rdm::RDMRequest *request, ola::rdm::RDMCallback *callback)
Handle an RDMRequest, subclasses can implement this to support RDM.
Definition: JaRuleOutputPort.cpp:68
bool Init()
Initialize the port.
Definition: JaRuleOutputPort.cpp:53
void RunIncrementalDiscovery(ola::rdm::RDMDiscoveryCallback *callback)
This is a noop for ports that don't support RDM.
Definition: JaRuleOutputPort.cpp:78
JaRuleOutputPort(Device *parent, unsigned int index, ola::usb::JaRuleWidget *widget)
Create a new JaRuleOutputPort.
Definition: JaRuleOutputPort.cpp:37
The base class for all 1 argument callbacks.
Definition: Callback.h:982
A thin wrapper around a JaRulePortHandle so that it can operate as an OLA Port.
Definition: JaRuleOutputPort.h:42
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
~JaRuleOutputPort()
Destructor.
Definition: JaRuleOutputPort.cpp:46
std::string Description() const
Fetch the string description for a Port.
Definition: JaRuleOutputPort.cpp:58