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.cpp270 valueIntf = std::make_unique<ValueIntf>(bus, path.c_str()); in NumericSensor()
280 valueIntf->maxValue(unitModifier(conversionFormula(maxValue))); in NumericSensor()
281 valueIntf->minValue(unitModifier(conversionFormula(minValue))); in NumericSensor()
282 valueIntf->unit(sensorUnit); in NumericSensor()
481 valueIntf = std::make_unique<ValueIntf>(bus, path.c_str()); in NumericSensor()
491 valueIntf->maxValue(unitModifier(conversionFormula(maxValue))); in NumericSensor()
492 valueIntf->minValue(unitModifier(conversionFormula(minValue))); in NumericSensor()
493 valueIntf->unit(sensorUnit); in NumericSensor()
615 (!useMetricInterface && !valueIntf) || in updateReading()
628 curValue = valueIntf->value(); in updateReading()
[all …]
H A Dnumeric_sensor.hpp243 std::unique_ptr<ValueIntf> valueIntf = nullptr; member in pldm::platform_mc::NumericSensor