Condition variable. More...
#include <CCondVar.h>
Inherits CCondVarBase.
Public Member Functions | |
CCondVar (CMutex *mutex, const T &value) | |
Initialize using value . | |
CCondVar (const CCondVar &) | |
Initialize using another condition variable's value. | |
manipulators | |
CCondVar & | operator= (const CCondVar &cv) |
Assigns the value of cv to this. | |
CCondVar & | operator= (const T &v) |
Assigns value to this. | |
accessors | |
operator const volatile T & () const | |
Get the variable's value. |
Condition variable.
A condition variable with storage for type T
.
Definition at line 129 of file CCondVar.h.
CCondVar< T >::operator const volatile T & | ( | ) | const [inline] |
Get the variable's value.
Get the variable's value. The condition variable should be locked before calling this method.
Definition at line 219 of file CCondVar.h.
Assigns value
to this.
Set the variable's value. The condition variable should be locked before calling this method.
Definition at line 211 of file CCondVar.h.
Assigns the value of cv
to this.
Set the variable's value. The condition variable should be locked before calling this method.
Reimplemented from CCondVarBase.
Definition at line 202 of file CCondVar.h.