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;
68 return m_helper.Description(GetUniverse());
70 const DmxBuffer &ReadDMX()
const {
return m_buffer; }
72 return m_helper.PreSetUniverse(old_universe, new_universe);
93 return m_helper.Description(GetUniverse());
95 bool WriteDMX(
const DmxBuffer &buffer, uint8_t priority);
97 return m_helper.PreSetUniverse(old_universe, new_universe);
108 #endif // PLUGINS_SANDNET_SANDNETPORT_H_ Definition: Universe.h:46
Used to hold a single universe of DMX data.
Definition: DmxBuffer.h:49
Definition: SandNetDevice.h:35
A class used to hold a single universe of DMX data.
uint8_t SandnetGroup(const Universe *universe) const
Return the SandNet group that corresponds to a OLA Universe.
Definition: SandNetPort.cpp:59
Definition: SandNetPort.h:83
Definition: PluginAdaptor.h:41
Definition: SandNetPort.h:33
uint8_t SandnetUniverse(const Universe *universe) const
Return the SandNet universe that corresponds to a OLA Universe.
Definition: SandNetPort.cpp:65
std::string Description() const
Fetch the string description for a Port.
Definition: SandNetPort.h:92
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Definition: SandNetNode.h:41