eq::AGLEventHandler Class Reference

The event handler for AGL windows. More...

#include <aglEventHandler.h>

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

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.

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 translates each received Carbon event to an AGLWindowEvent and dispatches it to the correct 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.

Definition at line 41 of file aglEventHandler.cpp.

References eq::Global::enterCarbon(), EQINFO, EQWARN, eq::AGLWindowIF::getCarbonWindow(), and eq::Global::leaveCarbon().

Here is the call graph for this function:

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

Destruct the AGL event handler.

Definition at line 105 of file aglEventHandler.cpp.

References eq::Global::enterCarbon(), and eq::Global::leaveCarbon().

Here is the call graph for this function:


Member Function Documentation

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

Definition at line 569 of file aglEventHandler.cpp.

References EQINFO, EQWARN, eq::base::getFilename(), and eq::net::Global::getProgramName().

Referenced by eq::Node::configInit().

Here is the call graph for this function:

Here is the caller graph for this function:

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

De-initialize space mouse event handling for this process.

See also:
Node::configInit

Definition at line 592 of file aglEventHandler.cpp.

Referenced by eq::Node::configExit().

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Generated on Sat Feb 6 13:02:15 2010 for Equalizer 0.9.1 by  doxygen 1.6.1