VPTissue Reference Manual
|
Overview of tasks. More...
#include <TaskOverview.h>
Signals | |
void | StartTask (int task) |
Send message to restart a stopped task. More... | |
void | StopTask (int task) |
Send message to stop a certain task. More... | |
Public Member Functions | |
TaskOverview () | |
Constructor. More... | |
virtual | ~TaskOverview () |
Destructor. | |
void | UpdateExploration (const std::shared_ptr< const ExplorationProgress > &explorationProgress) |
Update the current exploration. More... | |
Protected Member Functions | |
virtual void | hideEvent (QHideEvent *event) override |
Overriding QWidget::hideEvent to stop the refresh timer. | |
virtual void | showEvent (QShowEvent *event) override |
Overriding QWidget::showEvent to start the refresh timer. | |
Overview of tasks.
Definition at line 37 of file TaskOverview.h.
SimPT_Parex::TaskOverview::TaskOverview | ( | ) |
Constructor.
exploration | The current exploration |
Definition at line 82 of file TaskOverview.cpp.
References UpdateExploration().
|
signal |
Send message to restart a stopped task.
task | Id of task |
Referenced by UpdateExploration().
|
signal |
Send message to stop a certain task.
task | Id of task |
Referenced by UpdateExploration().
void SimPT_Parex::TaskOverview::UpdateExploration | ( | const std::shared_ptr< const ExplorationProgress > & | explorationProgress | ) |
Update the current exploration.
explorationProgress | The subscribed exploration |
Definition at line 114 of file TaskOverview.cpp.
References SimPT_Parex::Cancelled, SimPT_Parex::Exploration::GetNumberOfTasks(), SimPT_Parex::Exploration::GetParameters(), SimPT_Parex::Exploration::GetValues(), SimPT_Parex::Running, StartTask(), and StopTask().
Referenced by TaskOverview().