ESPHome  2024.10.2
Public Member Functions | Protected Attributes
esphome::hm3301::AQICalculatorFactory Class Reference

#include <aqi_calculator_factory.h>

Public Member Functions

AbstractAQICalculatorget_calculator (AQICalculatorType type)
 

Protected Attributes

CAQICalculatorcaqi_calculator_ = new CAQICalculator()
 
AQICalculatoraqi_calculator_ = new AQICalculator()
 

Detailed Description

Definition at line 11 of file aqi_calculator_factory.h.

Member Function Documentation

◆ get_calculator()

AbstractAQICalculator* esphome::hm3301::AQICalculatorFactory::get_calculator ( AQICalculatorType  type)
inline

Definition at line 13 of file aqi_calculator_factory.h.

Field Documentation

◆ aqi_calculator_

AQICalculator* esphome::hm3301::AQICalculatorFactory::aqi_calculator_ = new AQICalculator()
protected

Definition at line 25 of file aqi_calculator_factory.h.

◆ caqi_calculator_

CAQICalculator* esphome::hm3301::AQICalculatorFactory::caqi_calculator_ = new CAQICalculator()
protected

Definition at line 24 of file aqi_calculator_factory.h.


The documentation for this class was generated from the following file: