MCPcopy Create free account
hub / github.com/CMU-Perceptual-Computing-Lab/openpose / work

Method work

include/openpose/thread/workerProducer.hpp:35–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34 template<typename TDatums>
35 void WorkerProducer<TDatums>::work(TDatums& tDatums)
36 {
37 try
38 {
39 tDatums = std::move(workProducer());
40 }
41 catch (const std::exception& e)
42 {
43 this->stop();
44 errorWorker(e.what(), __LINE__, __FUNCTION__, __FILE__);
45 }
46 }
47
48 COMPILE_TEMPLATE_DATUM(WorkerProducer);
49}

Callers

nothing calls this directly

Calls 3

whatMethod · 0.80
errorWorkerFunction · 0.50
stopMethod · 0.45

Tested by

no test coverage detected