Panda3D
 All Classes Functions Variables Enumerations
Public Member Functions | Public Attributes | List of all members
PointerEvent Class Reference

Records a pointer movement event. More...

#include "pointerEvent.h"

Public Member Functions

 PointerEvent (const PointerEvent &copy)
 
bool operator!= (const PointerEvent &other) const
 
bool operator< (const PointerEvent &other) const
 
void operator= (const PointerEvent &copy)
 
bool operator== (const PointerEvent &other) const
 The equality operator does not consider time significant. More...
 
void output (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
 
int _dx
 
int _dy
 
bool _in_window
 
double _length
 
double _rotation
 
int _sequence
 
double _time
 
int _xpos
 
int _ypos
 

Detailed Description

Records a pointer movement event.

Definition at line 28 of file pointerEvent.h.

Member Function Documentation

bool PointerEvent::operator== ( const PointerEvent other) const
inline

The equality operator does not consider time significant.

Definition at line 82 of file pointerEvent.I.

void PointerEvent::read_datagram ( DatagramIterator scan)

Restores the event from the datagram.

Definition at line 46 of file pointerEvent.cxx.

void PointerEvent::write_datagram ( Datagram dg) const

Writes the event into a datagram.

Definition at line 36 of file pointerEvent.cxx.


The documentation for this class was generated from the following files: