| 36 | } |
| 37 | |
| 38 | void IPProcessThread::run() |
| 39 | { |
| 40 | _process->registerProgressEventHandler(this); |
| 41 | |
| 42 | try |
| 43 | { |
| 44 | _success = _process->processInputData(_image, _inputIndex, _useOpenCV); |
| 45 | } |
| 46 | catch(std::exception &e) |
| 47 | { |
| 48 | _process->addError(e.what()); |
| 49 | } |
| 50 | catch(...) |
| 51 | { |
| 52 | _process->addError("UNKNOWN ERROR IN THREAD"); |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | void IPProcessThread::updateProgress(int percent) |
| 57 | { |
nothing calls this directly
no test coverage detected