Public Member Functions

CCondVar< T > Class Template Reference

Condition variable. More...

#include <CCondVar.h>

Inherits CCondVarBase.

List of all members.

Public Member Functions

 CCondVar (CMutex *mutex, const T &value)
 Initialize using value.
 CCondVar (const CCondVar &)
 Initialize using another condition variable's value.
manipulators

CCondVaroperator= (const CCondVar &cv)
 Assigns the value of cv to this.
CCondVaroperator= (const T &v)
 Assigns value to this.
accessors

 operator const volatile T & () const
 Get the variable's value.

Detailed Description

template<class T>
class CCondVar< T >

Condition variable.

A condition variable with storage for type T.

Definition at line 133 of file CCondVar.h.


Member Function Documentation

template<class T >
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 223 of file CCondVar.h.

template<class T >
CCondVar< T > & CCondVar< T >::operator= ( const CCondVar< T > &  cv  )  [inline]

Assigns the value of cv to this.

Set the variable's value. The condition variable should be locked before calling this method.

Definition at line 206 of file CCondVar.h.

template<class T>
CCondVar< T > & CCondVar< T >::operator= ( const T &  v  )  [inline]

Assigns value to this.

Set the variable's value. The condition variable should be locked before calling this method.

Definition at line 215 of file CCondVar.h.


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