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.cpp326 valueIntf = std::make_unique<ValueIntf>(bus, path.c_str()); in NumericSensor()
336 valueIntf->maxValue(unitModifier(conversionFormula(maxValue))); in NumericSensor()
338 valueIntf->unit(sensorUnit); in NumericSensor()
598 valueIntf->unit(sensorUnit); in NumericSensor()
710 (!useMetricInterface && !valueIntf) || in updateReading()
723 curValue = valueIntf->value(); in updateReading()
739 valueIntf->value(newValue); in updateReading()
778 valueIntf->value(std::numeric_limits<double>::quiet_NaN()); in handleErrGetSensorReading()
818 if ((!useMetricInterface && !valueIntf) || in updateThresholds()
828 value = valueIntf->value(); in updateThresholds()
[all …]
H A Dnumeric_sensor.hpp235 std::unique_ptr<ValueIntf> valueIntf = nullptr; member in pldm::platform_mc::NumericSensor