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;
52 return m_helper.PreSetUniverse(old_universe, new_universe);
55 std::string Description()
const {
56 return m_helper.Description(GetUniverse());
59 bool SupportsPriorities()
const {
return true; }
60 uint8_t InheritedPriority()
const {
return m_priority; }
73 bool prepend_hostname)
75 m_prepend_hostname(prepend_hostname),
80 return m_helper.PreSetUniverse(old_universe, new_universe);
83 std::string Description()
const {
84 return m_helper.Description(GetUniverse());
88 void UniverseNameChanged(
const std::string &new_name);
90 void SetPreviewMode(
bool preview_mode) { m_preview_on = preview_mode; }
91 bool PreviewMode()
const {
return m_preview_on; }
92 bool SupportsPriorities()
const {
return true; }
95 bool m_prepend_hostname;
104 #endif // PLUGINS_E131_E131PORT_H_