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