CVD::GLWindow::EventSummary Struct Reference

A summary of multiple events. More...

#include <glwindow.h>

List of all members.

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

void clear ()
 Reset the summary.
 EventSummary ()
bool should_quit () const
 Has escape been pressed or the close button pressed?

Public Attributes

ImageRef cursor
 last seen cursor position from mouse_move
bool cursor_moved
 was the cursor moved during the recording of the history
std::map< int, int > events
 Generic window events -> frequency.
std::map< int, int > key_down
 key->frequency mapping for key presses and releases
std::map< int, int > key_up
std::map< int, std::pair
< ImageRef, int > > 
mouse_down
 button->frequency mapping for mouse presses and releases
std::map< int, std::pair
< ImageRef, int > > 
mouse_up

Detailed Description

A summary of multiple events.

Definition at line 74 of file glwindow.h.


Member Typedef Documentation

typedef std::map<int,int>::const_iterator CVD::GLWindow::EventSummary::key_iterator

Definition at line 78 of file glwindow.h.

typedef std::map<int,std::pair<ImageRef,int> >::const_iterator CVD::GLWindow::EventSummary::mouse_iterator

Definition at line 81 of file glwindow.h.


Constructor & Destructor Documentation

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

Definition at line 75 of file glwindow.h.


Member Function Documentation

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

Reset the summary.

Definition at line 85 of file glwindow.h.

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

Has escape been pressed or the close button pressed?


Member Data Documentation

last seen cursor position from mouse_move

Definition at line 89 of file glwindow.h.

was the cursor moved during the recording of the history

Definition at line 91 of file glwindow.h.

Generic window events -> frequency.

Definition at line 83 of file glwindow.h.

key->frequency mapping for key presses and releases

Definition at line 77 of file glwindow.h.

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,std::pair<ImageRef,int> > CVD::GLWindow::EventSummary::mouse_up

Definition at line 80 of file glwindow.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


libcvd
Author(s): Edward Rosten, Paul Smith, Tom Drummond, Gerhard Reitmayr, Ethan Eade, Timothy Gan, Chris Kemp, Georg Klein
autogenerated on Fri Jan 11 09:13:51 2013