1 #ifndef OPENPOSE_THREAD_WORKER_CONSUMER_HPP
2 #define OPENPOSE_THREAD_WORKER_CONSUMER_HPP
9 template<
typename TDatums>
15 void work(TDatums& tDatums);
29 template<
typename TDatums>
34 template<
typename TDatums>
39 workConsumer(tDatums);
41 catch (
const std::exception& e)
44 errorWorker(e.what(), __LINE__, __FUNCTION__, __FILE__);
virtual void workConsumer(const TDatums &tDatums)=0
void work(TDatums &tDatums)
virtual ~WorkerConsumer()
COMPILE_TEMPLATE_DATUM(WPoseTriangulation)
OP_API void errorWorker(const std::string &message, const int line=-1, const std::string &function="", const std::string &file="")