47 #define _base_sensor_methods_alone \ 49 size_t (*get_channels_number)(void *instance); \ 51 msg_t (*read_raw)(void *instance, int32_t axes[]); \ 53 msg_t (*read_cooked)(void *instance, float axes[]); 58 #define _base_sensor_methods \ 59 _base_object_methods \ 60 _base_sensor_methods_alone 74 #define _base_sensor_data 106 #define sensorGetChannelNumber(ip) (ip)->vmt->get_channels_number(ip) 120 #define sensorReadRaw(ip, dp) (ip)->vmt->read_raw(ip, dp) 134 #define sensorReadCooked(ip, dp) (ip)->vmt->read_cooked(ip, dp)
#define _base_object_data
BaseObject specific data.
const struct BaseSensorVMT * vmt
Virtual Methods Table.
#define _base_sensor_methods
BaseSensor specific methods with inherited ones.
#define _base_sensor_data
BaseSensor specific data.
BaseSensor virtual methods table.