00001 00015 #ifndef POLLEDDEVICE_H 00016 #define POLLEDDEVICE_H 00017 00018 namespace IS3D { 00019 00020 00032 class PolledDevice 00033 { 00034 public: 00035 PolledDevice() {} 00036 virtual ~PolledDevice() {} 00037 00038 virtual void pollForEvents() = 0; 00039 00040 00041 00042 // Normally you won't need these methods, only use these if you 00043 // can't include IS3D in your device driver code due to include file 00044 // conflicts. 00045 00048 void queueEventWithFsaMgr(const char *eventName); 00049 00052 void queueCoordinateFrameEventWithFsaMgr(const char *eventName, 00053 double *matrix); 00054 00055 }; 00056 00057 } // end namespace 00058 00059 #endif 00060