The event handler for AGL windows. More...
#include <aglEventHandler.h>


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. | |
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.
| 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().

| 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().

| 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.
Definition at line 569 of file aglEventHandler.cpp.
References EQINFO, EQWARN, eq::base::getFilename(), and eq::net::Global::getProgramName().
Referenced by eq::Node::configInit().


| void eq::AGLEventHandler::exitMagellan | ( | Node * | node | ) | [static] |
De-initialize space mouse event handling for this process.
Definition at line 592 of file aglEventHandler.cpp.
Referenced by eq::Node::configExit().

0.9.1 by
1.6.1