initial version
This commit is contained in:
27
sensors/dummy/AccelerometerSensorDummy.h
Normal file
27
sensors/dummy/AccelerometerSensorDummy.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef ACCELEROMETERSENSORDUMMY_H
|
||||
#define ACCELEROMETERSENSORDUMMY_H
|
||||
|
||||
#include "../AccelerometerSensor.h"
|
||||
|
||||
class AccelerometerSensorDummy : public AccelerometerSensor {
|
||||
|
||||
|
||||
public:
|
||||
|
||||
/** singleton access */
|
||||
static AccelerometerSensorDummy& get() {
|
||||
static AccelerometerSensorDummy acc;
|
||||
return acc;
|
||||
}
|
||||
|
||||
void start() override {
|
||||
//throw "todo";
|
||||
}
|
||||
|
||||
void stop() override {
|
||||
throw "todo";
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
#endif // ACCELEROMETERSENSORDUMMY_H
|
||||
Reference in New Issue
Block a user