Interface for a temperature sensor.
More...
#include <temperature_sensor_interface.h>
Interface for a temperature sensor.
Definition at line 46 of file temperature_sensor_interface.h.
◆ close()
Close the communication channel with the EEPROM.
- Returns
- Status
◆ getName()
virtual aditof::Status aditof::TemperatureSensorInterface::getName |
( |
std::string & |
name | ) |
const |
|
pure virtual |
Retrieves the name of the temperature sensor.
- Parameters
-
[out] | name | - This gets set with the name of the temperature sensor |
- Returns
- Status
◆ open()
virtual aditof::Status aditof::TemperatureSensorInterface::open |
( |
void * |
handle | ) |
|
|
pure virtual |
Open the communication channel with the temperature sensor.
- Parameters
-
handle | - A handle to the object through which communication is done |
- Returns
- Status
◆ read()
virtual aditof::Status aditof::TemperatureSensorInterface::read |
( |
float & |
temperature | ) |
|
|
pure virtual |
Read data from the temperature sensor.
- Parameters
-
[out] | temperature | - This is set with the temperature read from the sensor |
- Returns
- Status
The documentation for this class was generated from the following file: