TermOx
Public Member Functions | List of all members
ox::detail::User_input_event_loop Class Reference

Event loop that blocks for user input on each iteration. More...

#include <user_input_event_loop.hpp>

Public Member Functions

auto run () -> int
 Starts listening for user input events in the thread called from.
 
void exit (int exit_code)
 Sets exit flag.
 
auto event_queue () -> Event_queue &
 Return reference to the internal Event_queue. More...
 

Detailed Description

Event loop that blocks for user input on each iteration.

Member Function Documentation

◆ event_queue()

auto ox::detail::User_input_event_loop::event_queue ( ) -> Event_queue&

Return reference to the internal Event_queue.

Used by System to initialize the current queue.


The documentation for this class was generated from the following files: