#include <event.h>


Public Types | |
| enum | Type { WINDOW_EXPOSE = 0, WINDOW_RESIZE, WINDOW_CLOSE, WINDOW_HIDE, WINDOW_SHOW, WINDOW_SCREENSAVER, POINTER_MOTION, POINTER_BUTTON_PRESS, POINTER_BUTTON_RELEASE, KEY_PRESS, KEY_RELEASE, CHANNEL_RESIZE, STATISTIC, VIEW_RESIZE, EXIT, MAGELLAN_AXIS, MAGELLAN_BUTTON, UNKNOWN, FILL1, FILL2, FILL3, FILL4, FILL5, USER, ALL } |
| The type of the event. More... | |
Public Member Functions | |
| Event () | |
| Construct a new event. | |
Public Attributes | |
| uint32_t | type |
| The event type. | |
| uint32_t | originator |
| The identifier of the entity emitting the event. | |
| union { | |
| ResizeEvent resize | |
| Resize event data. | |
| ResizeEvent show | |
| Window show event data. | |
| ResizeEvent hide | |
| Window hide event data. | |
| PointerEvent pointer | |
| Pointer event data. | |
| PointerEvent pointerMotion | |
| Pointer motion data. | |
| PointerEvent pointerButtonPress | |
| Mouse button press data. | |
| PointerEvent pointerButtonRelease | |
| Mouse button release data. | |
| KeyEvent key | |
| Key event data. | |
| KeyEvent keyPress | |
| Key press event data. | |
| KeyEvent keyRelease | |
| Key release event data. | |
| Statistic statistic | |
| Statistic event. | |
| MagellanEvent magellan | |
| SpaceMouse data. | |
| UserEvent user | |
| User-defined event data. | |
| }; | |
| Data for the event corresponding to the event type. | |
| RenderContext | context |
| The last rendering context for the pointer position. | |
Definition at line 148 of file event.h.
| enum eq::Event::Type |
The type of the event.
| WINDOW_EXPOSE | A window is dirty. |
| WINDOW_RESIZE | Window resize data in resize. |
| WINDOW_CLOSE | A window has been closed. |
| WINDOW_HIDE | A window is hidden. |
| WINDOW_SHOW | A window is shown. |
| WINDOW_SCREENSAVER | A window screensaver request (Win32 only). |
| POINTER_MOTION | Pointer movement data in pointerMotion. |
| POINTER_BUTTON_PRESS | Pointer button press data in pointerButtonPress. |
| POINTER_BUTTON_RELEASE | Pointer button release data in pointerButtonRelease. |
| KEY_PRESS | Key press data in keyPress. |
| KEY_RELEASE | Key release data in keyRelease. |
| CHANNEL_RESIZE | Channel resize data in resize. |
| STATISTIC | Statistic event in statistic. |
| VIEW_RESIZE | View resize data in resize. |
| EXIT | Exit request due to runtime error. |
| MAGELLAN_AXIS | SpaceMouse movement data in magellan. |
| MAGELLAN_BUTTON | SpaceMouse button data in magellan. |
| USER | User-defined events have to be of this type or higher. |
| uint32_t eq::Event::originator |
The identifier of the entity emitting the event.
Definition at line 190 of file event.h.
Referenced by eq::Config::handleEvent(), and eq::Channel::processEvent().
| union { ... } |
Data for the event corresponding to the event type.
The last rendering context for the pointer position.
Definition at line 215 of file event.h.
Referenced by eq::EventHandler::_getRenderContext().
0.9 by
1.5.8