2012-12-19 18:02:34 -04:00
|
|
|
|
|
|
|
#ifndef __AP_INERTIAL_SENSOR_USER_INTERACT_H__
|
|
|
|
#define __AP_INERTIAL_SENSOR_USER_INTERACT_H__
|
|
|
|
|
2015-10-26 08:04:56 -03:00
|
|
|
#include <AP_Common/AP_Common.h>
|
2012-12-19 18:02:34 -04:00
|
|
|
|
|
|
|
/* Pure virtual interface class */
|
|
|
|
class AP_InertialSensor_UserInteract {
|
|
|
|
public:
|
2014-08-07 00:09:17 -03:00
|
|
|
virtual bool blocking_read() = 0;
|
2015-11-10 13:05:19 -04:00
|
|
|
virtual void printf(const char *, ...) FMT_PRINTF(2, 3) = 0;
|
2012-12-19 18:02:34 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __AP_INERTIAL_SENSOR_USER_INTERACT_H__
|
|
|
|
|