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

#include <EventPump.h>

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

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 EventPumpStateState ()
 

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: