AUI Framework  master
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
AEventLoop Class Reference

Default event loop implementation.

#include <AUI/Thread/AEventLoop.h>

Public Member Functions#

void notifyProcessMessages () override
 Notifies this IEventLoop that its thread got a new message to process.
 
void loop () override
 Default loop.
 
void stop ()
 
void iteration ()
 

Member Function Documentation#

◆ loop()#

void AEventLoop::loop ( )
overridevirtual

Until mRunning = true, calls iteraton() infinitely. The loop can be broken via stop() method.

Implements IEventLoop.

◆ notifyProcessMessages()#

void AEventLoop::notifyProcessMessages ( )
overridevirtual

Implements IEventLoop.