ACT-CV - Machine Vision for Cognitive Modeling
|
#include <Condition.h>
Public Member Functions | |
Condition () | |
void | Signal () |
int | Wait () |
int | TimedWait (unsigned int sec, unsigned int nsec) |
Private Attributes | |
std::condition_variable | cond_ |
std::mutex | mutex_ |
Definition at line 35 of file Condition.h.
mhthreads::Condition::Condition | ( | ) |
Definition at line 40 of file Condition.h.
void mhthreads::Condition::Signal | ( | ) |
Definition at line 43 of file Condition.h.
References cond_.
Referenced by BGFunc(), FrameLoopImpl::Loop(), FrameLoopImpl::LoopNFrames(), FrameLoopImpl::LoopUntilKeyPress(), and FrameLoopImpl::SingleFrame().
int mhthreads::Condition::TimedWait | ( | unsigned int | sec, |
unsigned int | nsec | ||
) |
Definition at line 53 of file Condition.h.
Referenced by FrameLoopImpl::WaitForFirstFrame(), and FrameLoopImpl::WaitForNextFrame().
int mhthreads::Condition::Wait | ( | ) |
Definition at line 47 of file Condition.h.
Referenced by AddRecognition(), ReleaseSource(), SelectFileBasedSource(), and SelectSource().
|
private |
Definition at line 36 of file Condition.h.
Referenced by Signal(), TimedWait(), and Wait().
|
private |
Definition at line 37 of file Condition.h.
Referenced by TimedWait(), and Wait().