GG: GG::ModalEventPump Class Reference

GG

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Protected Member Functions | List of all members
GG::ModalEventPump Class Reference

`#include <EventPump.h>`

Inheritance diagram for GG::ModalEventPump:

## Public Member Functions
| ModalEventPump (const bool &done)
virtual void | operator() ()
Public Member Functions inherited from GG::EventPump
virtual | ~EventPump ()

## Protected Member Functions
bool | Done () const

## Additional Inherited Members
Static Protected Member Functions inherited from GG::EventPumpBase
static EventPumpState & | State ()

## 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:

- EventPump.h