Equalizer  1.4.1
Public Member Functions | Static Public Member Functions
eq::agl::EventHandler Class Reference

The event handler for AGL windows. More...

#include <eventHandler.h>

+ Inheritance diagram for eq::agl::EventHandler:
+ Collaboration diagram for eq::agl::EventHandler:

List of all members.

Public Member Functions

 EventHandler (agl::WindowIF *window)
 Construct a new AGL event handler for the given AGL window.
virtual ~EventHandler ()
 Destruct the AGL event handler.
agl::WindowIFgetWindow () const
bool handleEvent (EventRef event)

Static Public Member Functions

static void initMagellan (Node *node)
 Initialize space mouse event handling for this process.
static void exitMagellan (Node *node)
 De-initialize space mouse event handling for this process.

Detailed Description

The event handler for AGL windows.

Any implementation of the agl::WindowIF can instantiate this event handler, which registers for Carbon events, translates each received event to an AGLWindowEvent and dispatches it to agl::WindowIF::processEvent.

Definition at line 39 of file agl/eventHandler.h.


Constructor & Destructor Documentation

Construct a new AGL event handler for the given AGL window.

Version:
1.0
virtual eq::agl::EventHandler::~EventHandler ( ) [virtual]

Destruct the AGL event handler.

Version:
1.0

Reimplemented from eq::EventHandler.


Member Function Documentation

static void eq::agl::EventHandler::exitMagellan ( Node node) [static]

De-initialize space mouse event handling for this process.

See also:
Node::configInit
Version:
1.0
Returns:
the handled AGL window.
Version:
1.0

Definition at line 68 of file agl/eventHandler.h.

static void eq::agl::EventHandler::initMagellan ( Node node) [static]

Initialize space mouse event handling for this process.

Received space mouse events are directly send to the application.

See also:
Node::configInit, Config::sendEvent
Version:
1.0

The documentation for this class was generated from the following file:
Generated on Mon Nov 26 2012 14:41:50 for Equalizer 1.4.1 by  doxygen 1.7.6.1