24#ifndef TEMPERATUREADAPTOR_H
25#define TEMPERATUREADAPTOR_H
27#include "inputdevadaptor.h"
28#include "deviceadaptorringbuffer.h"
67 DeviceAdaptorRingBuffer<TimedUnsigned>* temperatureBuffer_;
69 unsigned temperatureValue_;
71 void interpretEvent(
int src,
struct input_event *ev);
72 void commitOutput(
struct input_event *ev);
73 void interpretSync(
int src,
struct input_event *ev);
74 QByteArray powerStatePath_;
TemperatureAdaptor(const QString &id)
Constructor.
virtual unsigned int evaluateIntervalRequests(int &sessionId) const
Reimplement to allow for 0 interval to be the slowest entry.
virtual void stopSensor()
virtual bool startSensor()
static DeviceAdaptor * factoryMethod(const QString &id)
Factory method for gaining a new instance of AccelerometerAdaptor class.
Datatypes for different filters.