![]() |
iVS3D v2.0.0
|
The AlgorithmThread class is used to start the execution of a major plugin task on a new thread. The templated type will be used to define the type of output which is generated by the plugin task. More...
#include <algorithmthread.h>
Public Member Functions | |
| AlgorithmThread (Progressable *receiver, std::vector< uint > images, volatile bool *stopped, int pluginIdx, bool useCuda) | |
| AlgorithmThread Constructor which takes all parameters used by IAlgorithm. | |
| outType | getOutput () |
| getOutput getter for the computed output (for example keyframes or generated settings ) | |
| int | getResult () |
| getResult Getter for the status of the plugin calulation | |
Protected Member Functions | |
| virtual void | run ()=0 |
| QThread method stub which is implemented in its child classes. | |
The AlgorithmThread class is used to start the execution of a major plugin task on a new thread. The templated type will be used to define the type of output which is generated by the plugin task.
| AlgorithmThread< outType >::AlgorithmThread | ( | Progressable * | receiver, |
| std::vector< uint > | images, | ||
| volatile bool * | stopped, | ||
| int | pluginIdx, | ||
| bool | useCuda | ||
| ) |
AlgorithmThread Constructor which takes all parameters used by IAlgorithm.
| parameters | according to IAlgorithm |
| outType AlgorithmThread< outType >::getOutput | ( | ) |
getOutput getter for the computed output (for example keyframes or generated settings )
| int AlgorithmThread< outType >::getResult | ( | ) |
getResult Getter for the status of the plugin calulation