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.cpp300 valueIntf = std::make_unique<ValueIntf>(bus, path.c_str()); in NumericSensor()
310 valueIntf->maxValue(unitModifier(conversionFormula(maxValue))); in NumericSensor()
311 valueIntf->minValue(unitModifier(conversionFormula(minValue))); in NumericSensor()
312 valueIntf->unit(sensorUnit); in NumericSensor()
543 valueIntf = std::make_unique<ValueIntf>(bus, path.c_str()); in NumericSensor()
553 valueIntf->maxValue(unitModifier(conversionFormula(maxValue))); in NumericSensor()
554 valueIntf->minValue(unitModifier(conversionFormula(minValue))); in NumericSensor()
555 valueIntf->unit(sensorUnit); in NumericSensor()
696 (!useMetricInterface && !valueIntf) || in updateReading()
709 curValue = valueIntf->value(); in updateReading()
[all …]
H A Dnumeric_sensor.hpp438 std::unique_ptr<ValueIntf> valueIntf = nullptr; member in pldm::platform_mc::NumericSensor