Manages the Chiller temperature probe. More...
#include <Sensor.h>
Public Member Functions | |
| void | begin (void) override |
| Initializes the sensors used by this object. Not needed if only using simulated sensor values. | |
| void | read (void) override |
| Reads the sensor and updates the value stored within this object. | |
Public Member Functions inherited from Sensor | |
| void | simulate (void) |
| Simulates a new sensor value, storing the results in this object. | |
| const sensorVal_t | value (void) const |
| Returns the sensor value. | |
Static Public Member Functions | |
| static ChillerTempSensor & | getInstance (void) |
| Returns reference to the single instance of the ChillerTempSensor class. | |
Additional Inherited Members | |
Public Types inherited from Sensor | |
| using | sensorVal_t = float |
| Type definition used by Sensor class. | |
Protected Member Functions inherited from Sensor | |
| Sensor (sensorVal_t initialValue, sensorVal_t maxVal, sensorVal_t minVal, sensorVal_t simDelta) | |
| Protected constructor for Sensor. | |
| ~Sensor (void)=default | |
| Destroy the Sensor object. | |
Protected Attributes inherited from Sensor | |
| sensorVal_t | _value |
| Most recent sensor reading. | |
Manages the Chiller temperature probe.
This is a Singleton class. It reads values from the Chiller temperature probe, making it available for use by others.
|
overridevirtual |
Initializes the sensors used by this object. Not needed if only using simulated sensor values.
Implements Sensor.
|
inlinestatic |
Returns reference to the single instance of the ChillerTempSensor class.
|
overridevirtual |
Reads the sensor and updates the value stored within this object.
Implements Sensor.