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

dev2d_vrpn.H

Go to the documentation of this file.
00001 #ifndef _device_2d_vrpn_H_
00002 #define _device_2d_vrpn_H_
00003 
00004 #include "dev/dev2d.H"
00005 #include "dev/polled.H"
00006 #include "vrpn/vrpn_Analog.h"
00007 
00008 //
00009 // A VRPN 2d device
00010 //
00011 class DEVice_2d_VRPN : public DEVice, public DEVpolled {
00012  protected:
00013    vrpn_Analog_Remote  *_vrpndev;
00014 
00015    static  void     vrpn_change_handler(void *ice, const vrpn_ANALOGCB info);
00016 
00017    DEVice_2d       _pointer;
00018 
00019    /* ------------- DEVpolled methods --------------- */
00020    void             do_poll();
00021 
00022  public:
00023             DEVice_2d_VRPN(Cstr_ptr &name);
00024    virtual ~DEVice_2d_VRPN();
00025 };
00026 
00027 #endif

Generated on Mon Sep 15 16:25:56 2003 for gluebase by doxygen1.2.18