GG
|
An EventPump that terminates when the bool reference done supplied to the constructor is true. More...
#include <EventPump.h>
Public Member Functions | |
ModalEventPump (const bool &done) | |
virtual void | operator() () |
Protected Member Functions | |
bool | Done () const |
An EventPump that terminates when the bool reference done supplied to the constructor is true.
Definition at line 134 of file EventPump.h.
virtual void GG::ModalEventPump::operator() | ( | ) | [virtual] |
Cycles through event-handling and rendering, calling GUI::HandleSystemEvents() and then EventPumpBase::LoopBody().
Reimplemented from GG::EventPump.
bool GG::ModalEventPump::Done | ( | ) | const [protected] |
Returns true iff the constructor parameter done is true.