31 #ifndef PLUGINS_ARTNET_ARTNETDEVICE_H_
32 #define PLUGINS_ARTNET_ARTNETDEVICE_H_
36 #include "olad/Device.h"
37 #include "plugins/artnet/messages/ArtNetConfigMessages.pb.h"
38 #include "plugins/artnet/ArtNetNode.h"
59 void EnterConfigurationMode() { m_node->EnterConfigurationMode(); }
60 void ExitConfigurationMode() { m_node->ExitConfigurationMode(); }
70 const std::string &request,
71 std::string *response,
72 ConfigureCallback *done);
74 static const char K_ALWAYS_BROADCAST_KEY[];
75 static const char K_DEVICE_NAME[];
76 static const char K_IP_KEY[];
77 static const char K_LIMITED_BROADCAST_KEY[];
78 static const char K_LONG_NAME_KEY[];
79 static const char K_LOOPBACK_KEY[];
80 static const char K_NET_KEY[];
81 static const char K_OUTPUT_PORT_KEY[];
82 static const char K_SHORT_NAME_KEY[];
83 static const char K_SUBNET_KEY[];
85 static const unsigned int POLL_INTERVAL = 10000;
113 void HandleOptions(Request *request, std::string *response);
118 void HandleNodeList(Request *request,
119 std::string *response,
125 #endif // PLUGINS_ARTNET_ARTNETDEVICE_H_