eq::EventHandler Class Reference

Base class for window system-specific event handlers. More...

#include <eventHandler.h>

Inheritance diagram for eq::EventHandler:

Inheritance graph
[legend]
Collaboration diagram for eq::EventHandler:

Collaboration graph
[legend]

List of all members.

Protected Member Functions

 EventHandler ()
 Constructs a new event handler.
virtual ~EventHandler ()
 Destructs the event handler.
void _computePointerDelta (const Window *window, Event &event)
 Compute the mouse move delta from the previous pointer event.
void _getRenderContext (const Window *window, Event &event)
 Find and set the rendering context at the mouse position.

Protected Attributes

Event _lastPointerEvent
 The previous pointer event to compute mouse movement deltas.
const Window_lastEventWindow
 The window of the previous pointer event.


Detailed Description

Base class for window system-specific event handlers.

Definition at line 32 of file eventHandler.h.


Constructor & Destructor Documentation

eq::EventHandler::EventHandler (  )  [inline, protected]

Constructs a new event handler.

Definition at line 38 of file eventHandler.h.

virtual eq::EventHandler::~EventHandler (  )  [inline, protected, virtual]

Destructs the event handler.

Definition at line 41 of file eventHandler.h.


Member Function Documentation

void eq::EventHandler::_computePointerDelta ( const Window window,
Event event 
) [protected]

void eq::EventHandler::_getRenderContext ( const Window window,
Event event 
) [protected]

Find and set the rendering context at the mouse position.

Definition at line 66 of file eventHandler.cpp.

References eq::Event::context, EQINFO, and eq::Window::getRenderContext().

Here is the call graph for this function:


Member Data Documentation

The previous pointer event to compute mouse movement deltas.

Definition at line 50 of file eventHandler.h.

Referenced by _computePointerDelta().

The window of the previous pointer event.

Definition at line 53 of file eventHandler.h.

Referenced by _computePointerDelta().


The documentation for this class was generated from the following files:
Generated on Mon Aug 10 18:58:42 2009 for Equalizer 0.9 by  doxygen 1.5.8