iVS3D v2.0.0
Loading...
Searching...
No Matches
AutomaticController Class Reference

The AutomaticController class is responsible for controlling the automatic execution. More...

#include <automaticcontroller.h>

Inheritance diagram for AutomaticController:

Public Slots

void slot_setAlgorithm (int index)
 slot_setAlgorithm Sets the SamplingWidget to the given algorithm
 
void slot_saveConfiguration ()
 slot_saveConfiguration Connected to the AutomaticWidget, called to save the current settings to a JSON file
 
void slot_loadConfiguration ()
 slot_loadConfiguration Connected to the AutomaticWidget, called to load a existing JSON file via a file dialog
 
void slot_updatedSelectedPlugins (QStringList usedPlugins)
 slot_updatedSelectedPlugins Updates the plugins shown in the AutoWidget
 
void slot_createProgress (AlgorithmExecutor *algoExec)
 slot_createProgress Used to create a ProgressDialog (or TerminalInteraction) and connect signals from the AlgorithmExecutor
 
void slot_deleteProgress ()
 slot_deleteProgress Deletes the current ProgressDialog, if existing
 

Signals

void sig_saveConfiguration (QString path)
 sig_saveConfiguration Signal emitted when 'Save Config' is clicked
 
void sig_loadConfiguration (QString path)
 sig_loadConfiguration Signal emitted when 'Load Config' is clicked
 

Public Member Functions

 AutomaticController (OutputWidget *outputWidget, AutomaticWidget *autoWidget, SamplingWidget *samplingWidget, DataManager *dm)
 AutomaticController Constructor of AutomaticController, this will create AutoExec and AutoExecSettings.
 
AutomaticExecutorautoExec ()
 autoExec Getter for AutoExec
 
void setExporController (ExportController *exCon)
 setExporController Sets the current exportController in the AutoExec classes
 
void disableAutoWidget ()
 disableAutoWidget Disables the AutoWidget
 

Detailed Description

The AutomaticController class is responsible for controlling the automatic execution.

Author
Daniel Brommer
Date
2022/07/08

Constructor & Destructor Documentation

◆ AutomaticController()

AutomaticController::AutomaticController ( OutputWidget outputWidget,
AutomaticWidget autoWidget,
SamplingWidget samplingWidget,
DataManager dm 
)
explicit

AutomaticController Constructor of AutomaticController, this will create AutoExec and AutoExecSettings.

Parameters
outputWidgetThe current OutputWidget
autoWidgetThe current AutoWidget
samplingWidgetThe current SamplingWidget
dmThe current DataManager

Member Function Documentation

◆ autoExec()

AutomaticExecutor * AutomaticController::autoExec ( )

autoExec Getter for AutoExec

Returns
AutoExec

◆ setExporController()

void AutomaticController::setExporController ( ExportController exCon)

setExporController Sets the current exportController in the AutoExec classes

Parameters
exConThe Current ExportController

◆ sig_loadConfiguration

void AutomaticController::sig_loadConfiguration ( QString  path)
signal

sig_loadConfiguration Signal emitted when 'Load Config' is clicked

Parameters
pathPath to the user selected file

◆ sig_saveConfiguration

void AutomaticController::sig_saveConfiguration ( QString  path)
signal

sig_saveConfiguration Signal emitted when 'Save Config' is clicked

Parameters
pathPath to the user selected file

◆ slot_createProgress

void AutomaticController::slot_createProgress ( AlgorithmExecutor algoExec)
slot

slot_createProgress Used to create a ProgressDialog (or TerminalInteraction) and connect signals from the AlgorithmExecutor

Parameters
algoExecThe AlgorithmExecutor which will report progress

◆ slot_setAlgorithm

void AutomaticController::slot_setAlgorithm ( int  index)
slot

slot_setAlgorithm Sets the SamplingWidget to the given algorithm

Parameters
indexIndex of the algorithm

◆ slot_updatedSelectedPlugins

void AutomaticController::slot_updatedSelectedPlugins ( QStringList  usedPlugins)
slot

slot_updatedSelectedPlugins Updates the plugins shown in the AutoWidget

Parameters
usedPluginsQStringList with the current plugin list

The documentation for this class was generated from the following files: