IAccelerometer¶
- class
Abstract inteface for interacting with the accelerometer.
Public Functions
-
virtual void
mono::sensor::IAccelerometer::
Start
()¶ Start the accelerometer.
Before you can sample any acceleration, you must start the accelerometer. When the accelerometer is running its power consumption will likely increase. Remember to Stop the accelerometer, when you are done sampling the acceleration.
-
virtual void
mono::sensor::IAccelerometer::
Stop
()¶ Stops the accelerometer.
A stopped accelerometer can not sample acceleration. Start the accelerometer before you sample any axis.
-
virtual bool
mono::sensor::IAccelerometer::
IsActive
()¶
= 0 Return the current Start/Stop state of the accelerometer.
- Return
true
only if the accelerometer is started and sampling data
-
virtual int16_t
mono::sensor::IAccelerometer::
rawXAxis
(bool monoOrientation)¶
= 0 <# brief desc #>
- Return
- <# return desc #>
-
virtual int16_t
mono::sensor::IAccelerometer::
rawYAxis
(bool monoOrientation)¶
= 0 <# brief desc #>
- Return
- <# return desc #>
-
virtual int16_t
mono::sensor::IAccelerometer::
rawZAxis
(bool monoOrientation)¶
= 0 <# brief desc #>
- Return
- <# return desc #>
-
virtual void