This commit is contained in:
@@ -31,6 +31,8 @@ public:
|
||||
bool resume(std::string& err);
|
||||
|
||||
private:
|
||||
enum class LoopControl { None, Break, Continue };
|
||||
|
||||
std::filesystem::path queue_path_;
|
||||
mutable std::recursive_mutex mu_;
|
||||
nlohmann::json queue_;
|
||||
@@ -47,10 +49,10 @@ private:
|
||||
void startWorkerIfNeeded();
|
||||
void workerLoop();
|
||||
void runMissionActions(nlohmann::json& entry);
|
||||
void executeActionsUnlocked(const nlohmann::json& actions,
|
||||
const nlohmann::json& parameters,
|
||||
nlohmann::json& log,
|
||||
int loop_depth);
|
||||
LoopControl executeActionsUnlocked(const nlohmann::json& actions,
|
||||
const nlohmann::json& parameters,
|
||||
nlohmann::json& log,
|
||||
int loop_depth);
|
||||
void sleepMs(int ms);
|
||||
void setRunnerState(const std::string& state, const std::string& message = "");
|
||||
void insertByPriorityUnlocked(nlohmann::json& entry);
|
||||
|
||||
Reference in New Issue
Block a user