OpenPose
1.7.0
The first real-time multi-person system to jointly detect human body, hand, facial, and foot keypoints
|
#include <thread.hpp>
Public Member Functions | |
Thread (const std::shared_ptr< std::atomic< bool >> &isRunningSharedPtr=nullptr) | |
Thread (Thread &&t) | |
Thread & | operator= (Thread &&t) |
virtual | ~Thread () |
void | add (const std::vector< std::shared_ptr< SubThread< TDatums, TWorker >>> &subThreads) |
void | add (const std::shared_ptr< SubThread< TDatums, TWorker >> &subThread) |
void | exec (const std::shared_ptr< std::atomic< bool >> &isRunningSharedPtr) |
void | startInThread () |
void | stopAndJoin () |
bool | isRunning () const |
Definition at line 12 of file thread.hpp.
|
explicit |
Definition at line 66 of file thread.hpp.
op::Thread< TDatums, TWorker >::Thread | ( | Thread< TDatums, TWorker > && | t | ) |
Definition at line 72 of file thread.hpp.
|
virtual |
Definition at line 89 of file thread.hpp.
void op::Thread< TDatums, TWorker >::add | ( | const std::shared_ptr< SubThread< TDatums, TWorker >> & | subThread | ) |
Definition at line 111 of file thread.hpp.
void op::Thread< TDatums, TWorker >::add | ( | const std::vector< std::shared_ptr< SubThread< TDatums, TWorker >>> & | subThreads | ) |
Definition at line 104 of file thread.hpp.
void op::Thread< TDatums, TWorker >::exec | ( | const std::shared_ptr< std::atomic< bool >> & | isRunningSharedPtr | ) |
Definition at line 117 of file thread.hpp.
|
inline |
Definition at line 36 of file thread.hpp.
Thread< TDatums, TWorker > & op::Thread< TDatums, TWorker >::operator= | ( | Thread< TDatums, TWorker > && | t | ) |
Definition at line 80 of file thread.hpp.
void op::Thread< TDatums, TWorker >::startInThread |
Definition at line 133 of file thread.hpp.
void op::Thread< TDatums, TWorker >::stopAndJoin |
Definition at line 149 of file thread.hpp.