25 #ifndef INCLUDE_OLA_ACTIONQUEUE_H_
26 #define INCLUDE_OLA_ACTIONQUEUE_H_
43 virtual bool IsFatal()
const = 0;
44 virtual bool Failed()
const = 0;
57 m_on_complete(on_complete),
63 void AddAction(
Action *action);
65 bool WasSuccessful()
const {
return m_success; }
67 unsigned int ActionCount()
const {
return m_actions.size(); }
68 Action *GetAction(
unsigned int i);
72 std::vector<Action*> m_actions;
77 #endif // INCLUDE_OLA_ACTIONQUEUE_H_
A 0 arg, single use callback that returns void.
Definition: Callback.h:157
A 1 argument callback which deletes itself after it's run.
Definition: Callback.h:1004
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
Definition: ActionQueue.h:54
Definition: ActionQueue.h:36