OpenPose  1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
op::SubThread< TDatums, TWorker > Class Template Referenceabstract

#include <subThread.hpp>

Public Member Functions

 SubThread (const std::vector< TWorker > &tWorkers)
 
virtual ~SubThread ()
 
void initializationOnThread ()
 
virtual bool work ()=0
 

Protected Member Functions

size_t getTWorkersSize () const
 
bool workTWorkers (TDatums &tDatums, const bool inputIsRunning)
 

Detailed Description

template<typename TDatums, typename TWorker = std::shared_ptr<Worker<TDatums>>>
class op::SubThread< TDatums, TWorker >

Definition at line 10 of file subThread.hpp.

Constructor & Destructor Documentation

◆ SubThread()

template<typename TDatums , typename TWorker >
op::SubThread< TDatums, TWorker >::SubThread ( const std::vector< TWorker > &  tWorkers)
explicit

Definition at line 45 of file subThread.hpp.

◆ ~SubThread()

template<typename TDatums , typename TWorker >
op::SubThread< TDatums, TWorker >::~SubThread
virtual

Definition at line 51 of file subThread.hpp.

Member Function Documentation

◆ getTWorkersSize()

template<typename TDatums , typename TWorker = std::shared_ptr<Worker<TDatums>>>
size_t op::SubThread< TDatums, TWorker >::getTWorkersSize ( ) const
inlineprotected

Definition at line 23 of file subThread.hpp.

◆ initializationOnThread()

template<typename TDatums , typename TWorker >
void op::SubThread< TDatums, TWorker >::initializationOnThread

Definition at line 141 of file subThread.hpp.

◆ work()

template<typename TDatums , typename TWorker = std::shared_ptr<Worker<TDatums>>>
virtual bool op::SubThread< TDatums, TWorker >::work ( )
pure virtual

◆ workTWorkers()

template<typename TDatums , typename TWorker >
bool op::SubThread< TDatums, TWorker >::workTWorkers ( TDatums &  tDatums,
const bool  inputIsRunning 
)
protected

Definition at line 56 of file subThread.hpp.


The documentation for this class was generated from the following file: