Virtual base class for sensors that measure motion

Fork of MotionSensor by Components

Files at this revision

API Documentation at this revision

Comitter:
JimCarver
Date:
Thu Apr 24 16:18:41 2014 +0000
Parent:
2:efad17aa7c8e
Commit message:
V0.2

Changed in this revision

MotionSensor.h Show annotated file Show diff for this revision Revisions of this file
diff -r efad17aa7c8e -r 4d6e28d4a18a MotionSensor.h
--- a/MotionSensor.h	Wed Apr 23 22:00:18 2014 +0000
+++ b/MotionSensor.h	Thu Apr 24 16:18:41 2014 +0000
@@ -29,8 +29,8 @@
     virtual void getX(float * x) = 0;
     virtual void getY(float * y) = 0;
     virtual void getZ(float * z) = 0;
-    virtual void getAxis(MotionSensorDataCounts * data) = 0;
-    virtual void getAxis(MotionSensorDataUnits * data) = 0;
+    virtual void getAxis(MotionSensorDataCounts &data) = 0;
+    virtual void getAxis(MotionSensorDataUnits &data) = 0;
 };
 
 #endif