21#ifndef LIBS_USB_JARULEPORTHANDLE_H_
22#define LIBS_USB_JARULEPORTHANDLE_H_
33#include "libs/usb/JaRuleConstants.h"
48 uint8_t physical_port);
73 std::auto_ptr<class JaRulePortHandleImpl> m_impl;
76 static const unsigned int RDM_QUEUE_SIZE = 50;
A class used to hold a single universe of DMX data.
An RDM Controller that queues messages and only sends a single message at a time.
Classes that represent RDM commands.
Definitions and Interfaces to implement an RDMController that sends a single message at a time.
Used to hold a single universe of DMX data.
Definition DmxBuffer.h:49
JaRulePortHandle(class JaRuleWidgetPort *parent_port, const ola::rdm::UID &uid, uint8_t physical_port)
Create a new Ja Rule Port Handle.
Definition JaRulePortHandle.cpp:36
Definition QueueingRDMController.h:88
The interface that can send RDM commands, as well as perform discovery operations.
Definition RDMControllerInterface.h:104
RDM Commands that represent requests (GET, SET or DISCOVER).
Definition RDMCommand.h:234
Represents a RDM UID.
Definition UID.h:57
void RunFullDiscovery(ola::rdm::RDMDiscoveryCallback *callback)
Start a full discovery operation.
Definition JaRulePortHandle.cpp:57
void RunIncrementalDiscovery(ola::rdm::RDMDiscoveryCallback *callback)
Start an incremental discovery operation.
Definition JaRulePortHandle.cpp:62
bool SetPortMode(JaRulePortMode new_mode)
Change the mode of the port.
Definition JaRulePortHandle.cpp:71
bool SendDMX(const DmxBuffer &buffer)
Send DMX data from this widget.
Definition JaRulePortHandle.cpp:67
void SendRDMRequest(ola::rdm::RDMRequest *request, ola::rdm::RDMCallback *on_complete)
Send a RDM command.
Definition JaRulePortHandle.cpp:52
JaRulePortHandle(class JaRuleWidgetPort *parent_port, const ola::rdm::UID &uid, uint8_t physical_port)
Create a new Ja Rule Port Handle.
Definition JaRulePortHandle.cpp:36
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
JaRulePortMode
Ja Rule Port modes.
Definition JaRuleConstants.h:42
The namespace containing all OLA symbols.
Definition Credentials.cpp:44