#include <omgui/eventloop.h>
Public Member Functions | |
EventLoop () | |
bool | is_running () const |
void | run () |
void | run_once () |
void | run_until () |
void | stop () |
~EventLoop () | |
Private Attributes | |
std::auto_ptr < omgui::api::EventLoop > | m_impl |
omgui::EventLoop::EventLoop | ( | ) |
omgui::EventLoop::~EventLoop | ( | ) |
bool omgui::EventLoop::is_running | ( | ) | const |
void omgui::EventLoop::run | ( | ) |
Runs the event loop until it is stopped.
void omgui::EventLoop::run_once | ( | ) |
Runs a single iteration of the event loop and returns.
void omgui::EventLoop::run_until | ( | ) |
Runs the event loop until no events remain to be processed and then returns
void omgui::EventLoop::stop | ( | ) |
Stops the running loop.
std::auto_ptr<omgui::api::EventLoop> omgui::EventLoop::m_impl [private] |