• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

adaptors/mrstaccelerometer/mrstaccelerometeradaptor.h

Go to the documentation of this file.
00001 #ifndef MRSTACCELEROMETERADPTOR_H
00002 #define MRSTACCELEROMETERADPTOR_H
00003 
00004 #include "sysfsadaptor.h"
00005 #include "deviceadaptorringbuffer.h"
00006 #include "datatypes/orientationdata.h"
00007 
00008 class MRSTAccelAdaptor : public SysfsAdaptor
00009 {
00010     Q_OBJECT
00011 
00012 public:
00013     static DeviceAdaptor* factoryMethod (const QString& id) {
00014         return new MRSTAccelAdaptor (id);
00015     }
00016 
00017     MRSTAccelAdaptor (const QString& id);
00018     ~MRSTAccelAdaptor ();
00019 
00020 protected:
00021     void processSample (int pathId, int fd);
00022 
00023 private:
00024     DeviceAdaptorRingBuffer<OrientationData>* buffer;
00025 };
00026 #endif

Generated on Mon Jun 27 2011 14:38:47 for sensorfw by  doxygen 1.7.1