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

Portable Multiplexable cross-thread notification. More...

Inheritance diagram for MHA_TCP::Async_Notify:
Inheritance graph

Public Member Functions

 Async_Notify ()
 
virtual void reset ()
 
virtual void set ()
 
virtual ~Async_Notify ()
 
- 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 bool status ()
 Query wether the event is in signalled state now. More...
 

Private Attributes

int pipe [2]
 

Additional Inherited Members

- Protected Attributes inherited from MHA_TCP::Wakeup_Event
OS_EVENT_TYPE os_event
 
bool os_event_valid
 

Detailed Description

Portable Multiplexable cross-thread notification.

Constructor & Destructor Documentation

◆ Async_Notify()

Async_Notify::Async_Notify ( )

◆ ~Async_Notify()

Async_Notify::~Async_Notify ( )
virtual

Member Function Documentation

◆ reset()

void Async_Notify::reset ( )
virtual

Reimplemented from MHA_TCP::Wakeup_Event.

◆ set()

void Async_Notify::set ( )
virtual

Member Data Documentation

◆ pipe

int MHA_TCP::Async_Notify::pipe[2]
private

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