WebCFace 2.9.0
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
PollingConditionVariable Class Reference

#include <webcface/common/internal/mutex.h>

Public Member Functions

 PollingConditionVariable ()
 
void notify_all ()
 
void wait (std::unique_lock< std::mutex > &lock)
 
template<typename Pred >
void wait (std::unique_lock< std::mutex > &lock, Pred pred)
 
template<typename Clock , typename Duration >
std::cv_status wait_until (std::unique_lock< std::mutex > &lock, const std::chrono::time_point< Clock, Duration > &abs)
 
template<typename Clock , typename Duration , typename Pred >
bool wait_until (std::unique_lock< std::mutex > &lock, const std::chrono::time_point< Clock, Duration > &abs, Pred pred)
 
template<typename Rep , typename Period >
auto wait_for (std::unique_lock< std::mutex > &lock, const std::chrono::duration< Rep, Period > &rel)
 
template<typename Rep , typename Period , typename Pred >
auto wait_for (std::unique_lock< std::mutex > &lock, const std::chrono::duration< Rep, Period > &rel, Pred pred)
 

Constructor & Destructor Documentation

◆ PollingConditionVariable()

Member Function Documentation

◆ notify_all()

void notify_all ( )
inline

◆ wait() [1/2]

void wait ( std::unique_lock< std::mutex > &  lock)
inline

◆ wait() [2/2]

template<typename Pred >
void wait ( std::unique_lock< std::mutex > &  lock,
Pred  pred 
)
inline

◆ wait_for() [1/2]

template<typename Rep , typename Period >
auto wait_for ( std::unique_lock< std::mutex > &  lock,
const std::chrono::duration< Rep, Period > &  rel 
)
inline

◆ wait_for() [2/2]

template<typename Rep , typename Period , typename Pred >
auto wait_for ( std::unique_lock< std::mutex > &  lock,
const std::chrono::duration< Rep, Period > &  rel,
Pred  pred 
)
inline

◆ wait_until() [1/2]

template<typename Clock , typename Duration >
std::cv_status wait_until ( std::unique_lock< std::mutex > &  lock,
const std::chrono::time_point< Clock, Duration > &  abs 
)
inline

◆ wait_until() [2/2]

template<typename Clock , typename Duration , typename Pred >
bool wait_until ( std::unique_lock< std::mutex > &  lock,
const std::chrono::time_point< Clock, Duration > &  abs,
Pred  pred 
)
inline

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