21#ifndef PLUGINS_ARTNET_ARTNETPORT_H_
22#define PLUGINS_ARTNET_ARTNETPORT_H_
27#include "plugins/artnet/ArtNetDevice.h"
28#include "plugins/artnet/ArtNetNode.h"
43 const DmxBuffer &ReadDMX()
const {
return m_buffer; }
53 void RespondWithTod();
69 void TriggerDiscovery();
107 bool SupportsTimeCode()
const {
112 return m_node->SendTimeCode(timecode);
Definitions and Interfaces to implement an RDMController that sends a single message at a time.
The base class for all 1 argument callbacks.
Definition Callback.h:982
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
unsigned int PortId() const
Get the Port ID. This is the index within the device.
Definition Port.h:293
Used to hold a single universe of DMX data.
Definition DmxBuffer.h:49
Definition PluginAdaptor.h:41
Definition ArtNetDevice.h:47
The actual ArtNet Node.
Definition ArtNetNode.h:698
Definition ArtNetPort.h:72
bool SendTimeCode(const ola::timecode::TimeCode &timecode)
This is a noop for ports that don't support TimeCode.
Definition ArtNetPort.h:111
void RunIncrementalDiscovery(ola::rdm::RDMDiscoveryCallback *callback)
This is a noop for ports that don't support RDM.
Definition ArtNetPort.cpp:139
void RunFullDiscovery(ola::rdm::RDMDiscoveryCallback *callback)
This is a noop for ports that don't support RDM.
Definition ArtNetPort.cpp:134
void SendRDMRequest(ola::rdm::RDMRequest *request, ola::rdm::RDMCallback *on_complete)
Handle an RDMRequest, subclasses can implement this to support RDM.
Definition ArtNetPort.cpp:121
std::string Description() const
Fetch the string description for a Port.
Definition ArtNetPort.cpp:167
bool WriteDMX(const DmxBuffer &buffer, uint8_t priority)
Write DMX data to this port.
Definition ArtNetPort.cpp:111
RDM Commands that represent requests (GET, SET or DISCOVER).
Definition RDMCommand.h:234
Represents a set of RDM UIDs.
Definition UIDSet.h:48
The namespace containing all OLA symbols.
Definition Credentials.cpp:44