#include <TemperatureController.h>
The abstract implementation of the ITemperatureController. This implementation handles the commands parsing and processing. 
 
◆ getTemperature()
  
  
      
        
          | uint16_t TemperatureController::getTemperature  | 
          ( | 
          uint8_t  | 
          temperatureSensor | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Get the temperature of a sensor.
- Parameters
 - 
  
    | temperatureSensor | the index of the temperature sensor  | 
  
   
- Returns
 - the temperature in hundredths of a degree Celsius. 
 
 
 
◆ getTemperatureValue()
  
  
      
        
          | virtual uint16_t TemperatureController::getTemperatureValue  | 
          ( | 
          uint8_t  | 
          temperatureSensor | ) | 
           | 
         
       
   | 
  
protectedpure virtual   | 
  
 
Get the temperature of a sensor.
- Parameters
 - 
  
    | temperatureSensor | the index of the temperature sensor  | 
  
   
- Returns
 - the temperature in hundredths of a degree Celsius. 
 
Implemented in ThermistorTemperatureController.
 
 
◆ getVoltageRail12V()
  
  
      
        
          | virtual uint16_t TemperatureController::getVoltageRail12V  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedpure virtual   | 
  
 
 
◆ getVoltageRail3V3()
  
  
      
        
          | virtual uint16_t TemperatureController::getVoltageRail3V3  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedpure virtual   | 
  
 
 
◆ getVoltageRail5V()
  
  
      
        
          | virtual uint16_t TemperatureController::getVoltageRail5V  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedpure virtual   | 
  
 
 
◆ handleTemperatureControl()
Handle a temperature command and send a response.
- Parameters
 - 
  
    | command | the command which should be handled  | 
    | response | the callback for the response  | 
  
   
Implements ITemperatureController.
 
 
◆ isTemperatureSensorConnected()
  
  
      
        
          | virtual bool TemperatureController::isTemperatureSensorConnected  | 
          ( | 
          uint8_t  | 
          temperatureSensor | ) | 
           | 
         
       
   | 
  
protectedpure virtual   | 
  
 
Check if a temperature sensor is connected.
- Parameters
 - 
  
    | temperatureSensor | the index of the temperature sensor  | 
  
   
- Returns
 - true if a temperature sensor is connected 
 
Implemented in ThermistorTemperatureController.
 
 
The documentation for this class was generated from the following files: