![]()  | 
  
    The Open Master Hearing Aid (openMHA)
    openMHA
    
   Open community platform for hearing aid algorithm research 
   | 
 
OS-independent event watcher, uses select on Unix and WaitForMultipleObjects on Windows. More...

Public Types | |
| typedef std::set< Wakeup_Event * > | Events | 
| typedef std::set< Wakeup_Event * >::iterator | iterator | 
Public Member Functions | |
| void | observe (Wakeup_Event *event) | 
| Add an event to this observer.  More... | |
| void | ignore (Wakeup_Event *event) | 
| Remove an event from this observer.  More... | |
| std::set< Wakeup_Event * > | wait () | 
| \ Wait for some event to occur.  More... | |
| virtual | ~Event_Watcher () | 
Private Attributes | |
| std::set< Wakeup_Event * > | events | 
| The list of events to watch.  More... | |
OS-independent event watcher, uses select on Unix and WaitForMultipleObjects on Windows.
      
  | 
  virtual | 
| void Event_Watcher::observe | ( | Wakeup_Event * | event | ) | 
Add an event to this observer.
| void Event_Watcher::ignore | ( | Wakeup_Event * | event | ) | 
Remove an event from this observer.
| std::set< Wakeup_Event * > Event_Watcher::wait | ( | ) | 
\ Wait for some event to occur.
Return all events that are ready
      
  | 
  private | 
The list of events to watch.