6#include <QSharedPointer>
Represents a subtask within a task.
Definition task.hpp:31
bool hasBeenExecuted
Whether the subtask has been executed at least once.
Definition task.hpp:48
SubtaskStatus status
The status of the subtask.
Definition task.hpp:46
QString lastExecutionError
The error message from the last execution of the subtask.
Definition task.hpp:50
QWeakPointer< Task > parentTask
Weak pointer to the parent task.
Definition task.hpp:45
QString title
The title of the subtask.
Definition task.hpp:32
int timeoutSeconds
The timeout for the subtask execution in seconds.
Definition task.hpp:40
QString file
The file name of the subtask.
Definition task.hpp:34
QString description
The description of the subtask.
Definition task.hpp:33
bool lastExecutionFailed
Whether the subtask has been executed at least once.
Definition task.hpp:49
QString solutionFilePath
The file path to the solution of the subtask.
Definition task.hpp:36
QString filePath
The file path of the subtask.
Definition task.hpp:35
bool parallelizedEvaluationRequired
Whether parallelized evaluation is required.
Definition task.hpp:41
QString evaluationFilePath
The file path to the evaluation script of the subtask.
Definition task.hpp:37
bool reset_robot_before_executing
Whether to reset the robot before executing the subtask.
Definition task.hpp:42
Represents a task containing multiple subtasks.
Definition task.hpp:61
QString title
The title of the task.
Definition task.hpp:62
QString folder
The folder path of the task.
Definition task.hpp:63
QString difficultyHexColor
The hex color associated with the difficulty level.
Definition task.hpp:72
QVector< Subtask > subtasks
The list of subtasks within the task.
Definition task.hpp:66
QString topic
The topic of the task.
Definition task.hpp:65
QString difficulty
The difficulty level of the task.
Definition task.hpp:64
bool previousSubtasksRequired
Whether previous subtasks are required.
Definition task.hpp:69
SubtaskStatus
Represents the status of a subtask.
Definition task.hpp:16
@ Inactive
The subtask is inactive (state where it can't be executed).
@ Running
The subtask is currently being executed.
@ Queued
The subtask is queued for execution.
@ Ready
The subtask is ready to be executed.