21 #ifndef PLUGINS_ARTNET_ARTNETPORT_H_
22 #define PLUGINS_ARTNET_ARTNETPORT_H_
26 #include "olad/Port.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);
121 #endif // PLUGINS_ARTNET_ARTNETPORT_H_
bool SendTimeCode(const ola::timecode::TimeCode &timecode)
This is a noop for ports that don't support TimeCode.
Definition: ArtNetPort.h:111
Represents a set of RDM UIDs.
Definition: UIDSet.h:48
Definitions and Interfaces to implement an RDMController that sends a single message at a time...
Definition: Universe.h:45
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
RDM Commands that represent requests (GET, SET or DISCOVER).
Definition: RDMCommand.h:233
Definition: ArtNetDevice.h:47
Used to hold a single universe of DMX data.
Definition: DmxBuffer.h:49
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
void RunIncrementalDiscovery(ola::rdm::RDMDiscoveryCallback *callback)
This is a noop for ports that don't support RDM.
Definition: ArtNetPort.cpp:139
Definition: TimeCode.h:33
std::string Description() const
Fetch the string description for a Port.
Definition: ArtNetPort.cpp:167
void RunFullDiscovery(ola::rdm::RDMDiscoveryCallback *callback)
This is a noop for ports that don't support RDM.
Definition: ArtNetPort.cpp:134
Definition: PluginAdaptor.h:41
The actual ArtNet Node.
Definition: ArtNetNode.h:696
bool WriteDMX(const DmxBuffer &buffer, uint8_t priority)
Write DMX data to this port.
Definition: ArtNetPort.cpp:111
The base class for all 1 argument callbacks.
Definition: Callback.h:982
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
unsigned int PortId() const
Get the Port ID. This is the index within the device.
Definition: Port.h:292
Definition: ArtNetPort.h:72