GG::EventPumpState Struct Reference

Encapsulates the state of GG event pumping. More...

#include <EventPump.h>

List of all members.

Public Member Functions

 EventPumpState ()

Public Attributes

unsigned int last_FPS_time
unsigned int last_frame_time
unsigned int most_recent_time
std::size_t frames


Detailed Description

Encapsulates the state of GG event pumping.

A single state object is shared by all EventPumps, to ensure state consistency.

Definition at line 43 of file EventPump.h.


Constructor & Destructor Documentation

GG::EventPumpState::EventPumpState (  ) 

Default ctor.


Member Data Documentation

The last time an FPS calculation was done.

Definition at line 47 of file EventPump.h.

The time of the last frame rendered.

Definition at line 48 of file EventPump.h.

The time recorded on the previous iteration of the event pump loop.

Definition at line 49 of file EventPump.h.

The number of frames rendered since last_frame_time.

Definition at line 50 of file EventPump.h.


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

Generated on Sat Mar 26 07:08:38 2011 for GG by  doxygen 1.5.9