21 #ifndef PLUGINS_E131_E131PORT_H_
22 #define PLUGINS_E131_E131PORT_H_
25 #include "olad/Port.h"
26 #include "plugins/e131/E131Device.h"
27 #include "plugins/e131/e131/E131Node.h"
39 string Description(
Universe *universe)
const;
41 static const unsigned int MAX_E131_UNIVERSE = 63999;
53 return m_helper.PreSetUniverse(old_universe, new_universe);
56 string Description()
const {
return m_helper.Description(GetUniverse()); }
57 const DmxBuffer &ReadDMX()
const {
return m_buffer; }
58 bool SupportsPriorities()
const {
return true; }
59 uint8_t InheritedPriority()
const {
return m_priority; }
72 bool prepend_hostname)
74 m_prepend_hostname(prepend_hostname),
79 return m_helper.PreSetUniverse(old_universe, new_universe);
82 string Description()
const {
return m_helper.Description(GetUniverse()); }
84 bool WriteDMX(
const DmxBuffer &buffer, uint8_t priority);
85 void UniverseNameChanged(
const string &new_name);
87 void SetPreviewMode(
bool preview_mode) { m_preview_on = preview_mode; }
88 bool PreviewMode()
const {
return m_preview_on; }
89 bool SupportsPriorities()
const {
return true; }
92 bool m_prepend_hostname;
101 #endif // PLUGINS_E131_E131PORT_H_