21 #ifndef OLAD_HTTPSERVERACTIONS_H_
22 #define OLAD_HTTPSERVERACTIONS_H_
26 #include "ola/ActionQueue.h"
27 #include "ola/OlaCallbackClient.h"
47 bool Failed()
const {
return m_failed; }
49 void CallbackComplete(
const string &error);
54 void RequestComplete(
bool failure);
55 virtual bool DoAction() = 0;
72 unsigned int universe,
78 m_is_fatal(is_fatal) {
81 bool IsFatal()
const {
return m_is_fatal; }
87 unsigned int m_universe;
102 unsigned int universe,
103 OlaUniverse::merge_mode mode):
105 m_universe(universe),
109 bool IsFatal()
const {
return false; }
115 unsigned int m_universe;
116 OlaUniverse::merge_mode m_merge_mode;
129 unsigned int device_alias,
131 PortDirection direction,
132 unsigned int universe,
135 m_device_alias(device_alias),
137 m_direction(direction),
138 m_universe(universe),
142 bool IsFatal()
const {
return false; }
148 unsigned int m_device_alias;
150 PortDirection m_direction;
151 unsigned int m_universe;
152 PatchAction m_action;
165 unsigned int device_alias,
167 PortDirection direction):
169 m_device_alias(device_alias),
171 m_direction(direction) {
174 bool IsFatal()
const {
return false; }
180 unsigned int m_device_alias;
182 PortDirection m_direction;
195 unsigned int device_alias,
197 PortDirection direction,
198 uint8_t overide_value):
200 m_device_alias(device_alias),
202 m_direction(direction),
203 m_override_value(overide_value) {
206 bool IsFatal()
const {
return false; }
212 unsigned int m_device_alias;
214 PortDirection m_direction;
215 uint8_t m_override_value;
221 #endif // OLAD_HTTPSERVERACTIONS_H_