CCondVar< T > Class Template Reference

Condition variable. More...

#include <CCondVar.h>

Inherits CCondVarBase.

Collaboration diagram for CCondVar< T >:
Collaboration graph
[legend]

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 129 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 219 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 211 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.

Reimplemented from CCondVarBase.

Definition at line 202 of file CCondVar.h.


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

Generated on 12 Nov 2010 for synergy-plus by  doxygen 1.6.1