#include <ProxyEventLoop.h>
◆ ProxyEventLoop()
◆ ~ProxyEventLoop()
virtual ProxyEventLoop::~ProxyEventLoop |
( |
| ) |
|
|
virtualdefault |
◆ exec()
Starts this event loop.
This function blocks until either quit
is called from inside the event handler code, or an application is closed by the user (e.g. after the last window is closed, or Command+Q
is pressed on Mac).
- Parameters
-
eventHandler | Callback for event processing. |
Implements PlatformEventLoop.
Reimplemented in EngineControlComponent.
◆ processMessages()
Processes the messages that are currently in the message queue, and returns. Returns immediately if there are no messages in the message queue.
- Parameters
-
eventHandler | Callback for event processing. |
count | Maximum number of messages to process, -1 means unlimited. |
Implements PlatformEventLoop.
Reimplemented in EngineControlComponent.
◆ quit()
void ProxyEventLoop::quit |
( |
| ) |
|
|
overridevirtual |
Tells this event loop to exit. Does nothing if the event loop is not running.
Implements PlatformEventLoop.
◆ waitForMessages()
void ProxyEventLoop::waitForMessages |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: