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

Method work

include/openpose/thread/subThreadNoQueue.hpp:43–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41
42 template<typename TDatums, typename TWorker>
43 bool SubThreadNoQueue<TDatums, TWorker>::work()
44 {
45 try
46 {
47 TDatums tDatums;
48 return this->workTWorkers(tDatums, true);
49 }
50 catch (const std::exception& e)
51 {
52 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
53 return false;
54 }
55 }
56
57 COMPILE_TEMPLATE_DATUM(SubThreadNoQueue);
58}

Callers

nothing calls this directly

Calls 3

workTWorkersMethod · 0.80
whatMethod · 0.80
errorFunction · 0.50

Tested by

no test coverage detected