CVD::GLWindow::EventSummary Struct Reference

#include <glwindow.h>

List of all members.


Detailed Description

A summary of multiple events.

Definition at line 74 of file glwindow.h.


Public Types

typedef std::map
< int, int >
::const_iterator 
key_iterator
typedef std::map
< int, std::pair
< ImageRef, int >
>::const_iterator 
mouse_iterator

Public Member Functions

 EventSummary ()
void clear ()
bool should_quit () const

Public Attributes

std::map< int, int > key_down
std::map< int, int > key_up
std::map< int,
std::pair< ImageRef,
int > > 
mouse_down
std::map< int,
std::pair< ImageRef,
int > > 
mouse_up
std::map< int, int > events
ImageRef cursor
bool cursor_moved

Member Function Documentation

void CVD::GLWindow::EventSummary::clear (  )  [inline]

Reset the summary.

Definition at line 85 of file glwindow.h.

References EventSummary().

bool CVD::GLWindow::EventSummary::should_quit (  )  const

Has escape been pressed or the close button pressed?


Member Data Documentation

std::map<int,int> CVD::GLWindow::EventSummary::key_down

key->frequency mapping for key presses and releases

Definition at line 77 of file glwindow.h.

std::map<int,std::pair<ImageRef,int> > CVD::GLWindow::EventSummary::mouse_down

button->frequency mapping for mouse presses and releases

Definition at line 80 of file glwindow.h.

std::map<int,int> CVD::GLWindow::EventSummary::events

Generic window events -> frequency.

Definition at line 83 of file glwindow.h.

ImageRef CVD::GLWindow::EventSummary::cursor

last seen cursor position from mouse_move

Definition at line 89 of file glwindow.h.

bool CVD::GLWindow::EventSummary::cursor_moved

was the cursor moved during the recording of the history

Definition at line 91 of file glwindow.h.


The documentation for this struct was generated from the following file:
Generated on Wed Feb 18 10:23:06 2009 for CVD by  doxygen 1.5.3