MCPcopy Create free account
hub / github.com/cpvrlab/ImagePlay / run

Method run

ImagePlay/src/IPProcessThread.cpp:38–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void 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
56void IPProcessThread::updateProgress(int percent)
57{

Callers

nothing calls this directly

Calls 3

addErrorMethod · 0.80
processInputDataMethod · 0.45

Tested by

no test coverage detected