Lines Matching refs:metricIntf
344 metricIntf = std::make_unique<MetricIntf>(bus, path.c_str()); in NumericSensor()
354 metricIntf->maxValue(unitModifier(conversionFormula(maxValue))); in NumericSensor()
355 metricIntf->minValue(unitModifier(conversionFormula(minValue))); in NumericSensor()
356 metricIntf->unit(metricUnit); in NumericSensor()
604 metricIntf = std::make_unique<MetricIntf>(bus, path.c_str()); in NumericSensor()
614 metricIntf->maxValue(unitModifier(conversionFormula(maxValue))); in NumericSensor()
615 metricIntf->minValue(unitModifier(conversionFormula(minValue))); in NumericSensor()
616 metricIntf->unit(metricUnit); in NumericSensor()
711 (useMetricInterface && !metricIntf)) in updateReading()
727 curValue = metricIntf->value(); in updateReading()
744 metricIntf->value(newValue); in updateReading()
759 metricIntf->value(std::numeric_limits<double>::quiet_NaN()); in updateReading()
768 (useMetricInterface && !metricIntf)) in handleErrGetSensorReading()
782 metricIntf->value(std::numeric_limits<double>::quiet_NaN()); in handleErrGetSensorReading()
819 (useMetricInterface && !metricIntf)) in updateThresholds()
832 value = metricIntf->value(); in updateThresholds()