1 #ifndef PEGATRONACCELEROMETERADAPTOR_H 2 #define PEGATRONACCELEROMETERADAPTOR_H 4 #include "inputdevadaptor.h" 5 #include "deviceadaptorringbuffer.h" 36 DeviceAdaptorRingBuffer<OrientationData>* accelerometerBuffer_;
40 void interpretEvent(
int src,
struct input_event *ev);
41 void commitOutput(
struct input_event *ev);
42 void interpretSync(
int src,
struct input_event *ev);
static DeviceAdaptor * factoryMethod(const QString &id)
Factory method for gaining a new instance of AccelerometerAdaptor class.
Datatypes for different filters.
~PegatronAccelerometerAdaptor()
Class for vector type measurement data (timestamp, x, y, z).
PegatronAccelerometerAdaptor(const QString &id)
Constructor.
virtual unsigned int evaluateIntervalRequests(int &sessionId) const
Reimplement to allow for 0 interval to be the slowest entry.