#include <MultiThreadedAlgorithm.h>
Public Member Functions | |
| MultiThreadedAlgorithm (int threadCount, const AlgInput &input, AlgOutput &output, ProgressReporter *pProgress) | |
| ~MultiThreadedAlgorithm () | |
| Result | run () |
| std::string | getErrorText () const |
(SIMD)
Definition at line 636 of file MultiThreadedAlgorithm.h.
| mta::MultiThreadedAlgorithm< AlgInput, AlgOutput, AlgThread >::MultiThreadedAlgorithm | ( | int | threadCount, | |
| const AlgInput & | input, | |||
| AlgOutput & | output, | |||
| ProgressReporter * | pProgress | |||
| ) |
Constructor.
| threadCount | Number of threads to create. | |
| input | Algorithm input. | |
| output | Algorithm output. | |
| pProgress | Used to report progress and errors. |
Definition at line 700 of file MultiThreadedAlgorithm.h.
| mta::MultiThreadedAlgorithm< AlgInput, AlgOutput, AlgThread >::~MultiThreadedAlgorithm | ( | ) |
| Result mta::MultiThreadedAlgorithm< AlgInput, AlgOutput, AlgThread >::run | ( | ) |
Execute the algorithm.
Definition at line 857 of file MultiThreadedAlgorithm.h.
| std::string mta::MultiThreadedAlgorithm< AlgInput, AlgOutput, AlgThread >::getErrorText | ( | ) | const |
The last error message.
If the result of run() is an error, this returns the error description.
Definition at line 671 of file MultiThreadedAlgorithm.h.