Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

CCondVar< T > Class Template Reference

Condition variable. More...

#include <CCondVar.h>

Inherits CCondVarBase.

Inheritance diagram for CCondVar< T >:

Inheritance graph
[legend]
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.

Definition at line 202 of file CCondVar.h.

References CCondVar< T >::m_data.


The documentation for this class was generated from the following file:
Generated on Fri Nov 6 00:21:22 2009 for synergy-plus by  doxygen 1.3.9.1