#include <vrpn_Button.h>
Class diagram for vrpn_Button_SerialMouse:

Public Members | |||
![]() | ![]() | vrpn_Button_SerialMouse (const char *name, vrpn_Connection *connection, const char *port, int baud, vrpn_MOUSETYPE type) | |
![]() | ![]() | virtual void | mainloop (void) |
![]() | ![]() | Called once through each main loop iteration to handle updates. Remote object mainloop() should call d_connection->mainloop(). Server object mainloop() should service the device, and should not normally call d_connection->mainloop(). | |
Protected Members | |||
![]() | ![]() | void | read (void) |
![]() | ![]() | char | portname [512] |
![]() | ![]() | int | baudrate |
![]() | ![]() | int | serial_fd |
![]() | ![]() | int | status |
![]() | ![]() | int | lastL |
![]() | ![]() | int | lastM |
![]() | ![]() | int | lastR |
![]() | ![]() | vrpn_MOUSETYPE | mousetype |
| vrpn_Button_SerialMouse::vrpn_Button_SerialMouse (const char * name, vrpn_Connection * c, const char * port, int baud, vrpn_MOUSETYPE type) |
void vrpn_Button_SerialMouse::mainloop (void) [virtual]
|
Called once through each main loop iteration to handle updates. Remote object mainloop() should call d_connection->mainloop(). Server object mainloop() should service the device, and should not normally call d_connection->mainloop().
Reimplemented from vrpn_BaseClass.
void vrpn_Button_SerialMouse::read (void) [protected]
|
char vrpn_Button_SerialMouse::portname[512] [protected]
|
int vrpn_Button_SerialMouse::baudrate [protected]
|
int vrpn_Button_SerialMouse::serial_fd [protected]
|
int vrpn_Button_SerialMouse::status [protected]
|
int vrpn_Button_SerialMouse::lastL [protected]
|
int vrpn_Button_SerialMouse::lastM [protected]
|
int vrpn_Button_SerialMouse::lastR [protected]
|
vrpn_MOUSETYPE vrpn_Button_SerialMouse::mousetype [protected]
|
1.0.0 written by Dimitri van Heesch,
© 1997-1999