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 86 of file EventPump.h.


Constructor & Destructor Documentation

GG::ModalEventPump::ModalEventPump ( const bool &  done  ) 

Basic ctor.


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:
Generated on Wed Mar 26 14:35:42 2008 for GG by  doxygen 1.5.2