Learn Environment
|
Represents a subtask within a task. More...
#include <task.hpp>
Public Attributes | |
QString | title |
The title of the subtask. More... | |
QString | description |
The description of the subtask. More... | |
QString | file |
The file name of the subtask. More... | |
QString | filePath |
The file path of the subtask. More... | |
QString | solutionFilePath |
The file path to the solution of the subtask. More... | |
QString | evaluationFilePath |
The file path to the evaluation script of the subtask. More... | |
int | timeoutSeconds = 60 |
The timeout for the subtask execution in seconds. More... | |
bool | parallelizedEvaluationRequired = false |
Whether parallelized evaluation is required. More... | |
bool | reset_robot_before_executing = true |
Whether to reset the robot before executing the subtask. More... | |
QWeakPointer< Task > | parentTask |
Weak pointer to the parent task. More... | |
SubtaskStatus | status = SubtaskStatus::Inactive |
The status of the subtask. More... | |
bool | hasBeenExecuted = false |
Whether the subtask has been executed at least once. More... | |
bool | lastExecutionFailed = false |
Whether the subtask has been executed at least once. More... | |
QString | lastExecutionError |
The error message from the last execution of the subtask. More... | |
Represents a subtask within a task.
The Subtask struct contains information about a subtask, including its title, description, file paths, difficulty, and status. It also includes optional fields for timeout and parallelized evaluation.
QString Subtask::description |
The description of the subtask.
QString Subtask::evaluationFilePath |
The file path to the evaluation script of the subtask.
QString Subtask::file |
The file name of the subtask.
QString Subtask::filePath |
The file path of the subtask.
bool Subtask::hasBeenExecuted = false |
Whether the subtask has been executed at least once.
QString Subtask::lastExecutionError |
The error message from the last execution of the subtask.
bool Subtask::lastExecutionFailed = false |
Whether the subtask has been executed at least once.
bool Subtask::parallelizedEvaluationRequired = false |
Whether parallelized evaluation is required.
QWeakPointer<Task> Subtask::parentTask |
Weak pointer to the parent task.
bool Subtask::reset_robot_before_executing = true |
Whether to reset the robot before executing the subtask.
QString Subtask::solutionFilePath |
The file path to the solution of the subtask.
SubtaskStatus Subtask::status = SubtaskStatus::Inactive |
The status of the subtask.
int Subtask::timeoutSeconds = 60 |
The timeout for the subtask execution in seconds.
QString Subtask::title |
The title of the subtask.