Home
last modified time | relevance | path

Searched refs:valueIntf (Results 1 – 2 of 2) sorted by relevance

/openbmc/pldm/platform-mc/
H A Dnumeric_sensor.cpp280 valueIntf = std::make_unique<ValueIntf>(bus, path.c_str()); in NumericSensor()
289 valueIntf->maxValue(unitModifier(conversionFormula(maxValue))); in NumericSensor()
290 valueIntf->minValue(unitModifier(conversionFormula(minValue))); in NumericSensor()
292 valueIntf->unit(sensorUnit); in NumericSensor()
502 valueIntf->unit(sensorUnit); in NumericSensor()
595 double curValue = valueIntf->value(); in updateReading()
603 valueIntf->value(newValue); in updateReading()
619 if (!operationalStatusIntf || !valueIntf) in handleErrGetSensorReading()
627 valueIntf->value(std::numeric_limits<double>::quiet_NaN()); in handleErrGetSensorReading()
660 if (!valueIntf) in updateThresholds()
[all …]
H A Dnumeric_sensor.hpp194 std::unique_ptr<ValueIntf> valueIntf = nullptr; member in pldm::platform_mc::NumericSensor