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

Monitor< T > Class Template Reference

#include <Monitor.h>

List of all members.

template<typename T>
class Monitor< T >


Public Member Functions

 Monitor (const T &initialValue) throw (exception)
 Monitor () throw (exception)
virtual ~Monitor () throw (exception)
void setValue (const T &v) throw (exception)
getValueCopy () throw (exception)
void awaitValueEquals (const T &v) throw (exception)
void awaitValueNotEquals (const T &v) throw (exception)
getValueWhenNotEquals (const T &v) throw (exception)

Public Attributes

PtMutex _mtx
PtCondition _cond
_value

Constructor & Destructor Documentation

template<typename T>
Monitor< T >::Monitor const T &  initialValue  )  throw (exception)
 

template<typename T>
Monitor< T >::Monitor  )  throw (exception)
 

template<typename T>
Monitor< T >::~Monitor  )  throw (exception) [virtual]
 


Member Function Documentation

template<typename T>
void Monitor< T >::awaitValueEquals const T &  v  )  throw (exception)
 

template<typename T>
void Monitor< T >::awaitValueNotEquals const T &  v  )  throw (exception)
 

template<typename T>
T Monitor< T >::getValueCopy  )  throw (exception)
 

template<typename T>
T Monitor< T >::getValueWhenNotEquals const T &  v  )  throw (exception)
 

template<typename T>
void Monitor< T >::setValue const T &  v  )  throw (exception)
 


Member Data Documentation

template<typename T>
PtCondition Monitor< T >::_cond
 

template<typename T>
PtMutex Monitor< T >::_mtx
 

template<typename T>
T Monitor< T >::_value
 


The documentation for this class was generated from the following file:
Generated on Fri Nov 12 15:15:23 2004 for Borealis by doxygen 1.3.8