BitmapToolkit Scol plugin
|
This class implements a condition to stop a thread until the condition is reached. More...
#include <threadcondition.h>
Public Member Functions | |
ThreadCondition () throw ( raspicam::Exception ) | |
void | Wait (std::unique_lock< std::mutex > &lck) throw ( raspicam::Exception ) |
void | BroadCast () throw ( raspicam::Exception ) |
This class implements a condition to stop a thread until the condition is reached.
Definition at line 54 of file threadcondition.h.
raspicam::_private::ThreadCondition::ThreadCondition | ( | ) | ||
throw | ( | raspicam::Exception | ||
) |
Definition at line 48 of file threadcondition.cpp.
void raspicam::_private::ThreadCondition::BroadCast | ( | ) | ||
throw | ( | raspicam::Exception | ||
) |
Wake up all threads waiting for this condition
Definition at line 65 of file threadcondition.cpp.
void raspicam::_private::ThreadCondition::Wait | ( | std::unique_lock< std::mutex > & | lck | ) | |
throw | ( | raspicam::Exception | |||
) |
The thread that call this function waits untils the condition is activated
Definition at line 56 of file threadcondition.cpp.