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

vrpn_Button_Remote Class Reference

#include <vrpn_Button.h>

Class diagram for vrpn_Button_Remote:

vrpn_Button vrpn_BaseClass vrpn_BaseClassUnique

List of all members.


Public Members

 vrpn_Button_Remote (const char *name, vrpn_Connection *cn = NULL)
virtual ~vrpn_Button_Remote (void)
virtual void mainloop ()
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().

virtual int register_change_handler (void *userdata, vrpn_BUTTONCHANGEHANDLER handler)
virtual int unregister_change_handler (void *userdata, vrpn_BUTTONCHANGEHANDLER handler)

Protected Members

typedef struct vrpn_Button_Remote::vrpn_RBCS  vrpn_BUTTONCHANGELIST
vrpn_BUTTONCHANGELISTchange_list

Static Protected Members

int handle_change_message (void *userdata, vrpn_HANDLERPARAM p)

Detailed Description


Member Typedef Documentation

typedef struct vrpn_Button_Remote::vrpn_RBCS vrpn_Button_Remote::vrpn_BUTTONCHANGELIST [protected]


Member Function Documentation

vrpn_Button_Remote::vrpn_Button_Remote (const char * name, vrpn_Connection * cn = NULL)

vrpn_Button_Remote::~vrpn_Button_Remote (void) [virtual]

void vrpn_Button_Remote::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.

int vrpn_Button_Remote::register_change_handler (void * userdata, vrpn_BUTTONCHANGEHANDLER handler) [virtual]

int vrpn_Button_Remote::unregister_change_handler (void * userdata, vrpn_BUTTONCHANGEHANDLER handler) [virtual]

int vrpn_Button_Remote::handle_change_message (void * userdata, vrpn_HANDLERPARAM p) [static, protected]


Member Data Documentation

vrpn_BUTTONCHANGELIST* vrpn_Button_Remote::change_list [protected]


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