21 #ifndef PLUGINS_E131_E131DEVICE_H_
22 #define PLUGINS_E131_E131DEVICE_H_
27 #include "olad/Device.h"
28 #include "olad/Plugin.h"
29 #include "plugins/e131/messages/E131ConfigMessages.pb.h"
42 unsigned int input_ports;
43 unsigned int output_ports;
45 bool prepend_hostname;
53 prepend_hostname(
true),
65 std::string DeviceId()
const {
return "1"; }
68 const std::string &request,
69 std::string *response,
70 ConfigureCallback *done);
81 bool m_prepend_hostname;
82 bool m_ignore_preview;
84 const unsigned int m_input_port_count, m_output_port_count;
85 std::vector<E131InputPort*> m_input_ports;
86 std::vector<E131OutputPort*> m_output_ports;
87 std::string m_ip_addr;
90 void HandlePreviewMode(ola::plugin::e131::Request *request,
91 std::string *response);
93 void HandlePortStatusRequest(std::string *response);
97 static const char DEVICE_NAME[];
102 #endif // PLUGINS_E131_E131DEVICE_H_