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

The AutomaticExecutor class is used to run multiple algorithms sequential on the same input. More...

#include <automaticexecutor.h>

Inheritance diagram for AutomaticExecutor:

Public Slots

void slot_startAutomaticExec ()
 slot_startAutomaticExec Connected to the AutomaticWidget, used to start the automatic execution
 
void slot_samplingFinished ()
 slot_algoFinished Connected to the current algorithm executor, called when the current algorithm finished
 
void slot_algoAbort ()
 slot_algoAbort Connected to the current algorithm executor, called when a algorithm is aborted. This will stop the auto execution completly.
 
void slot_settingsFinished ()
 slot_settingsFinished Connected to the current algorithm executor, called when generate settings finished
 

Signals

void sig_hasStatusMessage (QString message)
 [signal] sig_hasStatusMessage() is emitted when the status message is updated.
 
void sig_stopPlay ()
 [signal] sig_stopPlay() is emitted when an algorithm is started to stop the VideoPlayer.
 
void sig_createProgress (AlgorithmExecutor *algoExec)
 sig_createProgress Emitted to the AutomaticController when an AlgorithmExecutor needs to report porgress on a ProgressDisplay (or TerminalInteraction)
 
void sig_deleteProgress ()
 sig_deleteProgress Emitted to the AutomaticController when the AlgorithmExecutor stops to report porgress on a ProgressDisplay (or TerminalInteraction)
 

Public Member Functions

 AutomaticExecutor (DataManager *dm, AutomaticExecSettings *autoSettings)
 AutomaticExecutor Connects signals and sets the AutomaticWidget to enabled (if existing)
 
void startMultipleAlgo (QList< QPair< QString, QMap< QString, QVariant > > > algoList, int step)
 startMultipleAlgo Executes the indexed algorithm
 
bool isFinished ()
 isFinished Shows if all algorithms are done
 
void setExportController (ExportController *exportController)
 setExportController ExportController doesn't exists when this class is created, so it has to be set later
 

Detailed Description

The AutomaticExecutor class is used to run multiple algorithms sequential on the same input.

Author
Daniel Brommer
Date
2021/06/10

Constructor & Destructor Documentation

◆ AutomaticExecutor()

AutomaticExecutor::AutomaticExecutor ( DataManager dm,
AutomaticExecSettings autoSettings 
)

AutomaticExecutor Connects signals and sets the AutomaticWidget to enabled (if existing)

Parameters
dmPointer to the DataManager
autoWidgetPointer to the AutomaticWidget
autoSettingsPointer to the AutomaticExecSettings
exportControllerPointer to the ExportController

Member Function Documentation

◆ isFinished()

bool AutomaticExecutor::isFinished ( )

isFinished Shows if all algorithms are done

Returns
true if all algorithms are done false otherwise

◆ setExportController()

void AutomaticExecutor::setExportController ( ExportController exportController)

setExportController ExportController doesn't exists when this class is created, so it has to be set later

Parameters
exportControllerPointer to the ExportController

◆ sig_createProgress

void AutomaticExecutor::sig_createProgress ( AlgorithmExecutor algoExec)
signal

sig_createProgress Emitted to the AutomaticController when an AlgorithmExecutor needs to report porgress on a ProgressDisplay (or TerminalInteraction)

Parameters
algoExecThe AlgorithmExecutor which wants to report progress

◆ sig_hasStatusMessage

void AutomaticExecutor::sig_hasStatusMessage ( QString  message)
signal

[signal] sig_hasStatusMessage() is emitted when the status message is updated.

Parameters
messageQString with the new status

◆ startMultipleAlgo()

void AutomaticExecutor::startMultipleAlgo ( QList< QPair< QString, QMap< QString, QVariant > > >  algoList,
int  step 
)

startMultipleAlgo Executes the indexed algorithm

Parameters
algoListList of all selected algorithms
stepIndex of the current algorithm

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