1#ifndef TASK_EXECUTOR_HPP
2#define TASK_EXECUTOR_HPP
8#include <QSharedPointer>
88 bool constructPath(
const QString &basePath,
const QString &addition, QString &result,
const QString &errorMsg,
bool checkExists =
true);
90 QList<ScriptWorker*> scriptWorkers;
Manages the execution of scripts for tasks.
Definition script_worker.hpp:21
Executes tasks and manages their execution state.
Definition task_executor.hpp:19
void forceStop()
Forces the stop of all currently running tasks.
Definition task_executor.cpp:62
void taskExecutionStarted()
Signal emitted when task execution starts.
void resetRobotFailed(const QString &error)
Signal emitted when robot reset fails.
void resetRobotFinished()
Signal emitted when robot reset finishes.
void resetRobotStarted()
Signal emitted when robot reset starts.
TaskExecutor(QObject *parent=nullptr)
Constructs a TaskExecutor object.
Definition task_executor.cpp:8
void executeTask(const Subtask &subtask, bool startSolution=false)
Executes a given subtask.
Definition task_executor.cpp:10
void resetRobot()
Triggers python script to reset the robot to its initial state and removes all objects from the scene...
Definition task_executor.cpp:68
void taskExecutionFinished()
Signal emitted when task execution finishes.
void taskExecutionFailed(const QString &error)
Signal emitted when task execution fails.
Represents a subtask within a task.
Definition task.hpp:31