#include <NullEventLoop.h>
◆ NullEventLoop()
◆ ~NullEventLoop()
NullEventLoop::~NullEventLoop |
( |
| ) |
|
|
virtualdefault |
◆ deadlock()
void NullEventLoop::deadlock |
( |
| ) |
|
|
private |
◆ 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.
◆ 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.
◆ quit()
void NullEventLoop::quit |
( |
| ) |
|
|
overridevirtual |
Tells this event loop to exit. Does nothing if the event loop is not running.
Implements PlatformEventLoop.
◆ waitForMessages()
void NullEventLoop::waitForMessages |
( |
| ) |
|
|
overridevirtual |
Blocks until at least one message is delivered to the queue, and returns.
Implements PlatformEventLoop.
◆ _state
The documentation for this class was generated from the following files: