|
vdr-plugin-softhddevice-drm-gles 1.6.7
|
Event handler thread. More...
#include <softhddevice.h>
Public Member Functions | |
| cEventHandler (cSoftHdDevice *) | |
| Create and start the event handler thread. | |
| virtual | ~cEventHandler (void) |
| Stop and delete the event handler thread. | |
| void | AddEvent (Event) |
| Add an event to the queue. | |
Protected Member Functions | |
| virtual void | Action (void) override |
| Periodically send events in the queue to the final event receiver/handler. | |
Private Attributes | |
| cSoftHdDevice * | m_pDevice |
| pointer to device | |
| std::mutex | m_mutex |
| queue mutex | |
| std::vector< Event > | m_eventQueue |
| event fifo queue | |
| IEventReceiver * | m_pEventReceiver |
| pointer to event receiver | |
Event handler thread.
Queues events and sends them to cSoftHdDevice as the final event receiver
Definition at line 118 of file softhddevice.h.
| cEventHandler::cEventHandler | ( | cSoftHdDevice * | device | ) |
Create and start the event handler thread.
Definition at line 1901 of file softhddevice.cpp.
|
virtual |
Stop and delete the event handler thread.
Definition at line 1912 of file softhddevice.cpp.
Periodically send events in the queue to the final event receiver/handler.
Definition at line 1920 of file softhddevice.cpp.
References LOGDEBUG, m_eventQueue, m_mutex, m_pEventReceiver, and IEventReceiver::OnEventReceived().
Add an event to the queue.
Definition at line 1944 of file softhddevice.cpp.
References m_eventQueue, and m_mutex.
Referenced by cSoftHdDevice::SetDisplayMode().
|
private |
event fifo queue
Definition at line 129 of file softhddevice.h.
Referenced by Action(), and AddEvent().
|
private |
|
private |
pointer to device
Definition at line 127 of file softhddevice.h.
|
private |