21#ifndef PLUGINS_USBDMX_JARULEOUTPUTPORT_H_
22#define PLUGINS_USBDMX_JARULEOUTPUTPORT_H_
28#include "libs/usb/JaRulePortHandle.h"
29#include "libs/usb/JaRuleWidget.h"
78 const unsigned int m_port_index;
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
bool WriteDMX(const DmxBuffer &buffer, uint8_t priority)
Write DMX data to this port.
Definition JaRuleOutputPort.cpp:62
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
~JaRuleOutputPort()
Destructor.
Definition JaRuleOutputPort.cpp:46
std::string Description() const
Fetch the string description for a Port.
Definition JaRuleOutputPort.cpp:58
void SendRDMRequest(ola::rdm::RDMRequest *request, ola::rdm::RDMCallback *callback)
Handle an RDMRequest, subclasses can implement this to support RDM.
Definition JaRuleOutputPort.cpp:68
void RunFullDiscovery(ola::rdm::RDMDiscoveryCallback *callback)
This is a noop for ports that don't support RDM.
Definition JaRuleOutputPort.cpp:73
RDM Commands that represent requests (GET, SET or DISCOVER).
Definition RDMCommand.h:234
Represents a DMX/RDM port on a Ja Rule device.
Definition JaRulePortHandle.h:41
The plugin for hardware using libusb.
Code for supported devices and protocols.
ola::BaseCallback1< void, RDMReply * > RDMCallback
The callback run when a RDM request completes.
Definition RDMControllerInterface.h:52
ola::BaseCallback1< void, const ola::rdm::UIDSet & > RDMDiscoveryCallback
The callback run when a discovery operation completes.
Definition RDMControllerInterface.h:68
The namespace containing all OLA symbols.
Definition Credentials.cpp:44