The AlgorithmExecutor class is used to start the execution of a plugin(algorithm) and to provide signal&slots for the Thread executing the plugin.
More...
#include <algorithmexecutor.h>
|
|
void | slot_abort () |
| | slot_abort gets called by GUI to start aborting the plugin
|
| |
|
void | slot_pluginFinished () |
| | slot_pluginFinished gets invoked by Thread emitting "Finished(..)", meaning it is finished with its work, method saves results of plugin into the model
|
| |
| void | slot_makeProgress (int progress, QString currentOperation) |
| | [slot] slot_makeProgress used to delegate the progression to an attached view
|
| |
| void | slot_displayMessage (QString message) |
| | [slot] slot_displayMessage used to delegate a message to an attached view
|
| |
|
|
void | sig_algorithmStarted () |
| | sig_algorithmStarted signals start of plugin (unused
|
| |
|
void | sig_algorithmAborted () |
| | sig_algorithmAborted signals completed abortion of plugin
|
| |
|
void | sig_pluginFinished (int index) |
| | sig_algorithmFinished gets emitted once the plugin finished and all results are saved to the model
|
| |
| void | sig_progress (int progress, QString currentOp) |
| | [signal] sig_progress is emitted if a thread makes a progress and wants to report it.
|
| |
| void | sig_message (QString message) |
| | [signal] sig_message is emitted if a thread wants to display a message.
|
| |
The AlgorithmExecutor class is used to start the execution of a plugin(algorithm) and to provide signal&slots for the Thread executing the plugin.
- Author
- Dominic Zahn
- Date
- 2021/02/18
◆ AlgorithmExecutor()
◆ startGenerateSettings()
| int AlgorithmExecutor::startGenerateSettings |
( |
int |
pluginIdx | ) |
|
startGenerateSettings prepares data for generateSettings and starts its execution on new Thread
- Parameters
-
| pluginIdx | selected plugin which gets executed |
- Returns
- returns error code, 0 = no errors
◆ startSampling()
| int AlgorithmExecutor::startSampling |
( |
int |
pluginIdx | ) |
|
startAlgorithm prepares data for plugin and starts its execution on new Thread
- Parameters
-
| useBounds | true = respect boundaries and limit image-list accordingly |
- Returns
- returns error code, 0 = no errors
The documentation for this class was generated from the following files:
- iVS3D/src/iVS3D-core/model/sampling/algorithmexecutor.h
- iVS3D/src/iVS3D-core/model/sampling/algorithmexecutor.cpp