#include <CCondVar.h>
Inherits CCondVarBase.
Inheritance diagram for CCondVar< T >:
Public Member Functions | |
CCondVar (CMutex *mutex, const T &value) | |
Initialize using value . | |
CCondVar (const CCondVar &) | |
Initialize using another condition variable's value. | |
~CCondVar () | |
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. |
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.