Records a pointer movement event. More...
#include "pointerEvent.h"
Public Member Functions | |
| bool | operator != (const PointerEvent &other) const |
| bool | operator< (const PointerEvent &other) const |
| bool | operator== (const PointerEvent &other) const |
| The equality operator does not consider time significant. More... | |
| void | output (std::ostream &out) const |
| void | read_datagram (DatagramIterator &scan) |
| Restores the event from the datagram. More... | |
| void | write_datagram (Datagram &dg) const |
| Writes the event into a datagram. More... | |
Public Attributes | |
| double | _direction = 0.0 |
| double | _dx = 0.0 |
| double | _dy = 0.0 |
| int | _id = 0 |
| bool | _in_window = false |
| double | _length = 0.0 |
| double | _pressure = 0.0 |
| double | _rotation = 0.0 |
| int | _sequence = 0 |
| double | _time = 0.0 |
| PointerType | _type = PointerType::unknown |
| double | _xpos = 0.0 |
| double | _ypos = 0.0 |
Records a pointer movement event.
Definition at line 26 of file pointerEvent.h.
|
inline |
The equality operator does not consider time significant.
Definition at line 18 of file pointerEvent.I.
| void PointerEvent::read_datagram | ( | DatagramIterator & | scan | ) |
Restores the event from the datagram.
Definition at line 39 of file pointerEvent.cxx.
| void PointerEvent::write_datagram | ( | Datagram & | dg | ) | const |
Writes the event into a datagram.
Definition at line 31 of file pointerEvent.cxx.
1.8.15