1#ifndef VITROIO_SDK_ABSTRACT_SENSOR_INTERFACE_H
2#define VITROIO_SDK_ABSTRACT_SENSOR_INTERFACE_H
Virtual class providing interface for sensor drivers.
Definition: abstract_sensor_driver.h:25
Virtual class providing interface for sensor interfaces classes.
Definition: abstract_sensor_interface.h:50
virtual const uint32_t * getParameters() const =0
Function allows to obtain parameters measured by the sensor.
virtual uint32_t getParametersCount() const =0
Function allows to obtain count of parameters measured by the sensor.
virtual ~AbstractSensorInterface()
Destructor.
Definition: abstract_sensor_interface.h:65
virtual uint32_t getValues(SensorParameterValue *values)=0
Function allows to obtain current values of parameters measured by the sensor.
AbstractSensorDriver * driver()
Function allows to obtain pointer to sensor driver.
Definition: abstract_sensor_interface.h:102
AbstractSensorInterface(AbstractSensorDriver *driver)
Constructor.
Definition: abstract_sensor_interface.h:58
The namespace contains all of components of vitro-shard-sdk and components based on the sdk....
Definition: can_layer.h:9
Structure representing sensor parameters values.
Definition: abstract_sensor_interface.h:23
ValueT value
Value of sensor parameter.
Definition: abstract_sensor_interface.h:40
ParameterT parameter
Identifier of sensor parameter.
Definition: abstract_sensor_interface.h:36
uint32_t ParameterT
Type of the sensor parameters ID.
Definition: abstract_sensor_interface.h:27
uint32_t ValueT
Type of the sensor parameters value.
Definition: abstract_sensor_interface.h:31