The Open Master Hearing Aid (openMHA)  openMHA
Open community platform for hearing aid algorithm research
MHA_TCP::Timeout_Watcher Class Reference

OS-independent event watcher with internal fixed-end-time timeout. More...

Inheritance diagram for MHA_TCP::Timeout_Watcher:
Inheritance graph

Public Member Functions

 Timeout_Watcher (double interval)
 
virtual ~Timeout_Watcher ()
 
- Public Member Functions inherited from MHA_TCP::Event_Watcher
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

Timeout_Event timeout
 

Additional Inherited Members

- Public Types inherited from MHA_TCP::Event_Watcher
typedef std::set< Wakeup_Event * > Events
 
typedef std::set< Wakeup_Event * >::iterator iterator
 

Detailed Description

OS-independent event watcher with internal fixed-end-time timeout.

Constructor & Destructor Documentation

◆ Timeout_Watcher()

Timeout_Watcher::Timeout_Watcher ( double  interval)
explicit

◆ ~Timeout_Watcher()

Timeout_Watcher::~Timeout_Watcher ( )
virtual

Member Data Documentation

◆ timeout

Timeout_Event MHA_TCP::Timeout_Watcher::timeout
private

The documentation for this class was generated from the following files: