Equalizer
1.2.1
|
The event handler for AGL windows. More...
#include <eventHandler.h>
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::WindowIF * | 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 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 36 of file agl/eventHandler.h.
eq::agl::EventHandler::EventHandler | ( | agl::WindowIF * | window | ) |
Construct a new AGL event handler for the given AGL window.
virtual eq::agl::EventHandler::~EventHandler | ( | ) | [virtual] |
static void eq::agl::EventHandler::exitMagellan | ( | Node * | node | ) | [static] |
agl::WindowIF* eq::agl::EventHandler::getWindow | ( | ) | const [inline] |
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.