Main Page   Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

vrpn_Joystick Class Reference

#include <vrpn_UNC_Joystick.h>

Class diagram for vrpn_Joystick:

vrpn_Serial_Analog vrpn_Button vrpn_Analog vrpn_BaseClass vrpn_BaseClassUnique

List of all members.


Public Members

 vrpn_Joystick (char * name, vrpn_Connection * c, char * portname,int baud, double)
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 get_report ()
void report (struct timeval current_time)
void reset ()
void parse (int, int reset_rest_pos = 0)

Detailed Description


Member Function Documentation

vrpn_Joystick::vrpn_Joystick (char * name, vrpn_Connection * c, char * portname, int baud, double)

void vrpn_Joystick::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_Joystick::get_report () [protected]

void vrpn_Joystick::report (struct timeval current_time) [protected]

void vrpn_Joystick::reset () [protected]

void vrpn_Joystick::parse (int index, int reset_rest_pos = 0) [protected]


The documentation for this class was generated from the following files:
Generated at Fri Sep 13 15:04:15 2002 for vrpn by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999