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"
36 std::string Description(
Universe *universe)
const;
38 static const unsigned int MAX_E131_UNIVERSE = 63999;
53 return m_helper.PreSetUniverse(old_universe, new_universe);
60 bool SupportsPriorities()
const {
return true; }
61 uint8_t InheritedPriority()
const {
return m_priority; }
66 E131PortHelper m_helper;
77 m_last_priority = GetPriority();
83 return m_helper.PreSetUniverse(old_universe, new_universe);
86 std::string Description()
const {
87 return m_helper.Description(GetUniverse());
92 void SetPreviewMode(
bool preview_mode) { m_preview_on = preview_mode; }
93 bool PreviewMode()
const {
return m_preview_on; }
94 bool SupportsPriorities()
const {
return true; }
98 uint8_t m_last_priority;
106 #endif // PLUGINS_E131_E131PORT_H_