21 #ifndef OLAD_HTTPSERVERACTIONS_H_
22 #define OLAD_HTTPSERVERACTIONS_H_
26 #include "ola/ActionQueue.h"
27 #include "ola/client/OlaClient.h"
45 bool Failed()
const {
return m_failed; }
52 void RequestComplete(
bool failure);
53 virtual void DoAction() = 0;
69 unsigned int universe,
70 const std::string &name,
75 m_is_fatal(is_fatal) {
78 bool IsFatal()
const {
return m_is_fatal; }
84 unsigned int m_universe;
98 unsigned int universe,
99 client::OlaUniverse::merge_mode mode):
101 m_universe(universe),
105 bool IsFatal()
const {
return false; }
111 unsigned int m_universe;
112 client::OlaUniverse::merge_mode m_merge_mode;
124 unsigned int device_alias,
127 unsigned int universe,
130 m_device_alias(device_alias),
132 m_direction(direction),
133 m_universe(universe),
137 bool IsFatal()
const {
return false; }
143 unsigned int m_device_alias;
146 unsigned int m_universe;
159 unsigned int device_alias,
163 m_device_alias(device_alias),
165 m_direction(direction) {
168 bool IsFatal()
const {
return false; }
174 unsigned int m_device_alias;
188 unsigned int device_alias,
191 uint8_t overide_value):
193 m_device_alias(device_alias),
195 m_direction(direction),
196 m_override_value(overide_value) {
199 bool IsFatal()
const {
return false; }
205 unsigned int m_device_alias;
208 uint8_t m_override_value;
213 #endif // OLAD_HTTPSERVERACTIONS_H_
A 0 arg, single use callback that returns void.
Definition: Callback.h:157
PortDirection
The port direction.
Definition: ClientArgs.h:54
Definition: HttpServerActions.h:185
PatchAction
The patch action, used with OlaClient::Patch()
Definition: ClientArgs.h:38
The callback based C++ client for OLA.
Definition: OlaClient.h:45
Definition: HttpServerActions.h:156
Definition: HttpServerActions.h:35
Definition: HttpServerActions.h:95
Indicates the result of a OLA API call.
Definition: Result.h:52
Definition: HttpServerActions.h:66
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Definition: HttpServerActions.h:121
Definition: ActionQueue.h:36