|
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Handle returned by the event scanner to control scan timing. More...
#include <EventPollHandle.h>
Public Member Functions | |
| CEventPollHandle (IEventPollCallback &callback) | |
| Create an active polling handle. | |
| ~CEventPollHandle () | |
| Handle is automatically released when this class is destructed. | |
| void | Activate () |
| Activate handle. | |
| void | Deactivate () |
| Deactivate handle. | |
| void | HandleEvents (bool bWait) |
| Trigger a scan for events. | |
Handle returned by the event scanner to control scan timing.
When held, this allows one to control the timing of when events are handled.
| CEventPollHandle::CEventPollHandle | ( | IEventPollCallback & | callback | ) |
Create an active polling handle.
| CEventPollHandle::~CEventPollHandle | ( | void | ) |
Handle is automatically released when this class is destructed.
| void CEventPollHandle::Activate | ( | ) |
Activate handle.
| void CEventPollHandle::Deactivate | ( | ) |
Deactivate handle.
Trigger a scan for events.
| bWait | If true, this blocks until all events are handled |