The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Watch socket for incoming data. More...
Public Member Functions | |
Sockread_Event (SOCKET s) | |
Set socket to watch for. More... | |
Public Member Functions inherited from MHA_TCP::Wakeup_Event | |
Wakeup_Event () | |
Event Constructor. More... | |
virtual void | observed_by (Event_Watcher *observer) |
Called by the Event_Watcher when this event is added to its list of observed events. More... | |
virtual void | ignored_by (Event_Watcher *observer) |
Called by the Event_Watcher when this event is removed from its list of observed events. More... | |
virtual | ~Wakeup_Event () |
Destructor deregisters from observers. More... | |
virtual OS_EVENT_TYPE | get_os_event () |
Get necessary information for the Event Watcher. More... | |
virtual void | reset () |
For pure notification events, reset the "signalled" status. More... | |
virtual bool | status () |
Query wether the event is in signalled state now. More... | |
Additional Inherited Members | |
Protected Attributes inherited from MHA_TCP::Wakeup_Event | |
OS_EVENT_TYPE | os_event |
bool | os_event_valid |
Watch socket for incoming data.
MHA_TCP::Sockread_Event::Sockread_Event | ( | SOCKET | s | ) |
Set socket to watch for.
s | The socket to observe incoming data on. |