Manages tasks and their execution within the application.
More...
#include <task_manager.hpp>
Manages tasks and their execution within the application.
The TaskManager class is responsible for loading tasks, managing their execution, and handling user interactions through the UI.
◆ TaskManager()
TaskManager::TaskManager |
( |
TaskUI * | taskUI, |
|
|
QObject * | parent = nullptr ) |
◆ forceResetRobot
void TaskManager::forceResetRobot |
( |
| ) |
|
|
slot |
Forces the reset of the robot to its initial state.
◆ nextTask
void TaskManager::nextTask |
( |
| ) |
|
|
slot |
Slot for changing to the next task.
◆ previousTask
void TaskManager::previousTask |
( |
| ) |
|
|
slot |
Slot for changing to the previous task.
◆ selectTask
void TaskManager::selectTask |
( |
int | index | ) |
|
|
slot |
Selects a task by its index.
- Parameters
-
index | The index of the task to be selected. |
◆ startStopSubtask [1/2]
void TaskManager::startStopSubtask |
( |
const Subtask & | subtask | ) |
|
|
slot |
Starts or stops a subtask.
- Parameters
-
subtask | Reference to the subtask to be started or stopped. |
◆ startStopSubtask() [2/2]
void TaskManager::startStopSubtask |
( |
Subtask & | subtask, |
|
|
bool | startSolution = false ) |
Starts or stops a subtask.
- Parameters
-
subtask | Reference to the subtask to be started or stopped. |
startSolution | Flag indicating whether to start the solution or the users script. |
◆ toggleSolution()
void TaskManager::toggleSolution |
( |
Subtask & | subtask | ) |
|
Show or hide the solution of a subtask.
- Parameters
-
subtask | Reference to the subtask. |
The documentation for this class was generated from the following files: