Equalizer 1.0
|
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. | |
AGLWindowIF * | getWindow () 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. |
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.
eq::AGLEventHandler::AGLEventHandler | ( | AGLWindowIF * | window | ) |
Construct a new AGL event handler for the given AGL window.
virtual eq::AGLEventHandler::~AGLEventHandler | ( | ) | [virtual] |
Destruct the AGL event handler.
static void eq::AGLEventHandler::exitMagellan | ( | Node * | node | ) | [static] |
AGLWindowIF* eq::AGLEventHandler::getWindow | ( | ) | const [inline] |
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.