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

CascadeMonitor.h

Go to the documentation of this file.
00001 //
00002 // CascadeMonitor.h - header file for class CascadeMonitor
00003 //
00004 // Copyright (c) 2002, Roku, LLC.  All rights reserved.
00005 //
00008 
00009 #ifndef _ROKU_INCLUDE_CASCADE_INTERTHREAD_CASCADEMONITOR_H
00010 #define _ROKU_INCLUDE_CASCADE_INTERTHREAD_CASCADEMONITOR_H
00011 
00012 #include <cascade/CascadeObject.h>
00013 
00025 class CascadeMonitor : public CascadeObject
00026 {
00027 public:
00028         CascadeMonitor();
00032         virtual ~CascadeMonitor();
00036 public:
00037         void Enter();
00047         void Exit();
00053     void Notify();
00070     void Broadcast();
00078     bool WaitForNotification(u32 nTimeoutMilliseconds = 0);
00098            
00099 private:
00100     class Monitor;
00101     Monitor * m_pMonitor;
00102 };
00103 
00104 #endif // #ifndef _ROKU_INCLUDE_CASCADE_INTERTHREAD_CASCADEMONITOR_H
00105 
00107 // LOG
00109 //  20-Dec-02   dwoodward       created
00110 //  20-Jan-03   dwoodward       1.0 STATUS: 100% complete
00111 //  05-May-03   dwoodward   doxygenated
00112 //  15-Mar-04   dwoodward   use private nested forward declared class instead of void *
00113 //                          for private impl
00114 

Generated on Sun Jul 24 14:27:17 2005 for Cascade Library by  doxygen 1.4.1