GG
Public Member Functions | Protected Member Functions

GG::ModalEventPump Class Reference

An EventPump that terminates when the bool reference done supplied to the constructor is true. More...

#include <EventPump.h>

Inheritance diagram for GG::ModalEventPump:
GG::EventPump GG::EventPumpBase

List of all members.

Public Member Functions

 ModalEventPump (const bool &done)
virtual void operator() ()

Protected Member Functions

bool Done () const

Detailed Description

An EventPump that terminates when the bool reference done supplied to the constructor is true.

Note:
Modal Wnds use EventPumps to implement their modality.

Definition at line 134 of file EventPump.h.


Member Function Documentation

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.


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