00001 #ifndef _dev2d_trackd_H_ 00002 #define _dev2d_trackd_H_ 00003 00004 #include "dev/dev2d.H" 00005 #include "dev/polled.H" 00006 #include "trackdAPI.h" 00007 00008 // 00009 // A TRACKD valuator 00010 // 00011 class DEVice_2d_TRACKD : public DEVice, public DEVpolled { 00012 protected: 00013 ControllerReader *_trackd_dev; 00014 int _offset; 00015 00016 DEVice_2d _pointer; 00017 00018 /* ------------- DEVpolled methods --------------- */ 00019 void do_poll(); 00020 00021 public: 00022 DEVice_2d_TRACKD(Cstr_ptr &name); 00023 virtual ~DEVice_2d_TRACKD(); 00024 }; 00025 00026 #endif