Observer interface for receiving IMU events.
More...
#include <ImuEventListener.h>
Observer interface for receiving IMU events.
Register an implementation using ImuEvent::AddListener().
- Warning
- Do not destroy a listener object while it is registered.
◆ ~ImuEventListener()
| virtual ImuEventListener::~ImuEventListener |
( |
| ) |
|
|
virtualdefault |
◆ onImuGesture()
Called when a gesture is detected.
- Parameters
-
| type | Detected gesture type. |
| from | Direction associated with the gesture. |
◆ onImuUpdate()
| virtual void ImuEventListener::onImuUpdate |
( |
ImuData | data | ) |
|
|
virtual |
Called when a new IMU sample/update is available.
- Parameters
-
The documentation for this class was generated from the following file: