21 #ifndef PLUGINS_SANDNET_SANDNETPORT_H_
22 #define PLUGINS_SANDNET_SANDNETPORT_H_
26 #include "olad/Port.h"
27 #include "plugins/sandnet/SandNetDevice.h"
37 std::string Description(
const Universe *universe)
const;
70 const DmxBuffer &ReadDMX()
const {
return m_buffer; }
72 return m_helper.PreSetUniverse(old_universe, new_universe);
77 SandNetPortHelper m_helper;
97 return m_helper.PreSetUniverse(old_universe, new_universe);
102 SandNetPortHelper m_helper;
108 #endif // PLUGINS_SANDNET_SANDNETPORT_H_
Definition: Universe.h:45
std::string Description() const
Fetch the string description for a Port.
Definition: SandNetPort.h:92
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
Definition: SandNetDevice.h:35
A class used to hold a single universe of DMX data.
Definition: SandNetPort.h:83
Definition: PluginAdaptor.h:41
uint8_t SandnetGroup(const Universe *universe) const
Return the SandNet group that corresponds to a OLA Universe.
Definition: SandNetPort.cpp:59
Definition: SandNetPort.h:33
Universe * GetUniverse() const
Fetch the universe this Port is bound to.
Definition: Port.h:295
uint8_t SandnetUniverse(const Universe *universe) const
Return the SandNet universe that corresponds to a OLA Universe.
Definition: SandNetPort.cpp:65
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Definition: SandNetNode.h:41
bool WriteDMX(const DmxBuffer &buffer, uint8_t priority)
Write DMX data to this port.
Definition: SandNetPort.cpp:88