1#ifndef VITROIO_SDK_ABSTRACT_SENSOR_DRIVER_H
2#define VITROIO_SDK_ABSTRACT_SENSOR_DRIVER_H
57 virtual int read(
char* buffer, uint32_t address, uint32_t bytes) = 0;
70 virtual int write(
const char* buffer, uint32_t address, uint32_t bytes) = 0;
81 virtual int ioctl(
int request,
void* value) = 0;
Virtual class providing interface for sensor drivers.
Definition: abstract_sensor_driver.h:25
virtual void close()=0
Function deinitializes the sensor.
virtual int write(const char *buffer, uint32_t address, uint32_t bytes)=0
Function allows to write specified amount of data to provided address.
virtual ~AbstractSensorDriver()
Definition: abstract_sensor_driver.h:30
virtual int ioctl(int request, void *value)=0
Function allows to perform sensor specific operation.
virtual int open()=0
Function initializes the sensor.
AbstractSensorDriver()
Definition: abstract_sensor_driver.h:27
virtual int read(char *buffer, uint32_t address, uint32_t bytes)=0
Function allows to read specified amount of data from provided address.
The namespace contains all of components of vitro-shard-sdk and components based on the sdk....
Definition: can_layer.h:9