Equalizer 1.0

eq::AGLEventHandler Class Reference

The event handler for AGL windows. More...

#include <aglEventHandler.h>

Inheritance diagram for eq::AGLEventHandler:
Collaboration diagram for eq::AGLEventHandler:

List of all members.

Public Member Functions

 AGLEventHandler (AGLWindowIF *window)
 Construct a new AGL event handler for the given AGL window.
virtual ~AGLEventHandler ()
 Destruct the AGL event handler.
AGLWindowIFgetWindow () 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 AGLWindowIF can instantiate this event handler, which registers for Carbon events, translates each received event to an AGLWindowEvent and dispatches it to AGLWindowIF::processEvent.

Definition at line 36 of file aglEventHandler.h.


Constructor & Destructor Documentation

eq::AGLEventHandler::AGLEventHandler ( AGLWindowIF window)

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

Version:
1.0
virtual eq::AGLEventHandler::~AGLEventHandler ( ) [virtual]

Destruct the AGL event handler.

Version:
1.0

Member Function Documentation

static void eq::AGLEventHandler::exitMagellan ( Node node) [static]

De-initialize space mouse event handling for this process.

See also:
Node::configInit
Version:
1.0
AGLWindowIF* eq::AGLEventHandler::getWindow ( ) const [inline]
Returns:
the handled AGL window.
Version:
1.0

Definition at line 65 of file aglEventHandler.h.

static void eq::AGLEventHandler::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 Sun May 8 2011 19:11:09 for Equalizer 1.0 by  doxygen 1.7.3