ardupilot/libraries/AP_InertialSensor/AP_InertialSensor_UserInter...

16 lines
369 B
C
Raw Normal View History

#ifndef __AP_INERTIAL_SENSOR_USER_INTERACT_H__
#define __AP_INERTIAL_SENSOR_USER_INTERACT_H__
#include <AP_Common/AP_Common.h>
/* Pure virtual interface class */
class AP_InertialSensor_UserInteract {
public:
virtual bool blocking_read() = 0;
virtual void printf(const char *, ...) FMT_PRINTF(2, 3) = 0;
};
#endif // __AP_INERTIAL_SENSOR_USER_INTERACT_H__