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

indri::thread::ScopedMonitor Class Reference

#include <ScopedMonitor.hpp>

List of all members.

Public Member Functions

 ScopedMonitor (Mutex &mutex, ConditionVariable &condition)
 ~ScopedMonitor ()
void wait ()
void notifyOne ()
void notifyAll ()

Private Attributes

Mutex_mutex
ConditionVariable_condition


Constructor & Destructor Documentation

indri::thread::ScopedMonitor::ScopedMonitor Mutex mutex,
ConditionVariable condition
[inline]
 

indri::thread::ScopedMonitor::~ScopedMonitor  )  [inline]
 


Member Function Documentation

void indri::thread::ScopedMonitor::notifyAll  )  [inline]
 

void indri::thread::ScopedMonitor::notifyOne  )  [inline]
 

void indri::thread::ScopedMonitor::wait  )  [inline]
 


Member Data Documentation

ConditionVariable& indri::thread::ScopedMonitor::_condition [private]
 

Mutex& indri::thread::ScopedMonitor::_mutex [private]
 


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:03:03 2010 for Lemur by doxygen 1.3.4