20 #ifndef EQFABRIC_EVENT_H
21 #define EQFABRIC_EVENT_H
24 #include <eq/fabric/types.h>
25 #include <eq/fabric/renderContext.h>
26 #include <eq/fabric/statistic.h>
84 # define EQ_USER_EVENT_SIZE 128
93 char data[ EQ_USER_EVENT_SIZE ];
108 EQFABRIC_API
Event();
119 CHANNEL_POINTER_MOTION,
130 WINDOW_POINTER_MOTION,
213 EQFABRIC_API std::ostream& operator << ( std::ostream&,
const Event& );
215 EQFABRIC_API std::ostream& operator << ( std::ostream&,
const Event::Type& );
217 EQFABRIC_API std::ostream& operator << ( std::ostream&,
const ResizeEvent& );
219 EQFABRIC_API std::ostream& operator << ( std::ostream&,
const PointerEvent& );
221 EQFABRIC_API std::ostream& operator << ( std::ostream&,
const KeyEvent& );
223 EQFABRIC_API std::ostream& operator << ( std::ostream&,
const MagellanEvent& );
231 byteswap( value.
type );
233 byteswap( value.
time );
241 #endif // EQFABRIC_EVENT_H
Channel pointer button release data in pointerButtonRelease.
uint32_t buttons
current state of all buttons
Type
The type of the event.
int16_t yAxis
Y translation.
int32_t y
Y position relative to entity (0 is on top)
UserEvent user
User-defined event data.
int32_t y
new Y position, relative to parent
Event structure to report window system and other events.
uint32_t button
fired button
PointerEvent pointerWheel
Mouse wheel motion data.
uint32_t key
KeyCode for special keys, ascii code otherwise.
PointerEvent pointerMotion
Pointer motion data.
Event type not known by the event handler.
uint32_t buttons
current state of all buttons
Defines export visibility macros for library EqualizerFabric.
int16_t xAxis
X translation.
MagellanEvent magellan
SpaceMouse data.
ResizeEvent resize
Resize event data.
Channel resize data in resize.
ResizeEvent hide
Window hide event data.
Event for a pointer (mouse) motion or click.
SpaceMouse movement data in magellan.
Window pointer button press data in pointerButtonPress.
ResizeEvent show
Window show event data.
int16_t xRotation
X rotation.
uint32_t serial
server-unique originator serial number
Window pointer grabbed by system window.
KeyEvent keyRelease
Key release event data.
Window pointer movement data in pointerMotion.
uint32_t type
The event type.
Exit request due to runtime error.
Key release data in keyRelease.
Window resize data in resize.
PointerEvent pointer
Pointer event data.
int16_t yRotation
Y rotation.
int16_t zAxis
Z translation.
int16_t zRotation
Z rotation.
float yAxis
y wheel rotation in clicks
KeyEvent key
Key event data.
Event for a key press or release.
int32_t dy
Y position change since last event.
PointerEvent pointerButtonPress
Mouse button press data.
Statistic event in statistic.
Channel pointer button press data in pointerButtonPress.
Window pointer Mouse wheel data in wheel.
SpaceMouse button data in magellan.
Statistic statistic
Statistic event.
float dw
view only: new width relative to initial width
Observer moved (head tracking update).
Window pointer to be released by system window.
The Equalizer client library.
RenderContext context
The last rendering context for the pointer position.
int64_t time
The config time when the event was created.
Window pointer button release data in pointerButtonRelease.
EQFABRIC_API Event()
Construct a new event.
float xAxis
x wheel rotation in clicks
Event for a size or position change on a Window, Channel or View.
User-defined events have to be of this type or higher.
Event for a SpaceMouse movement or click.
int32_t x
X position relative to entity.
uint128_t originator
The identifier of the entity emitting the event.
char data[EQ_USER_EVENT_SIZE]
Application-specific data.
int32_t dx
X position change since last event.
int32_t x
new X position, relative to parent
uint32_t button
fired button
View resize data in resize.
KeyEvent keyPress
Key press event data.
PointerEvent pointerButtonRelease
Mouse button release data.
Key press data in keyPress.
The context applied to a channel during rendering operations.
float dh
view only: new height relative to initial height
A window screensaver request (Win32 only) < Channel pointer movement data in pointerMotion.
A window has been closed.