21 #ifndef PLUGINS_E131_E131DEVICE_H_
22 #define PLUGINS_E131_E131DEVICE_H_
28 #include "olad/Device.h"
29 #include "olad/Plugin.h"
30 #include "plugins/e131/messages/E131ConfigMessages.pb.h"
31 #include "plugins/e131/e131/E131Node.h"
50 unsigned int input_ports;
51 unsigned int output_ports;
63 const std::string &request,
64 std::string *response,
65 ConfigureCallback *done);
74 std::auto_ptr<E131Node> m_node;
75 const E131DeviceOptions m_options;
76 std::vector<E131InputPort*> m_input_ports;
77 std::vector<E131OutputPort*> m_output_ports;
78 std::string m_ip_addr;
81 void HandlePreviewMode(
const ola::plugin::e131::Request *request,
82 std::string *response);
83 void HandlePortStatusRequest(std::string *response);
84 void HandleSourceListRequest(
const ola::plugin::e131::Request *request,
85 std::string *response);
90 static const char DEVICE_NAME[];
95 #endif // PLUGINS_E131_E131DEVICE_H_