Searched refs:NumericSensor (Results 1 – 7 of 7) sorted by relevance
| /openbmc/pldm/platform-mc/ |
| H A D | numeric_sensor.cpp | 30 inline bool NumericSensor::createInventoryPath( in createInventoryPath() 114 void NumericSensor::setSensorUnit(uint8_t baseUnit) in setSensorUnit() 171 NumericSensor::NumericSensor( in NumericSensor() function in pldm::platform_mc::NumericSensor 427 NumericSensor::NumericSensor( in NumericSensor() function in pldm::platform_mc::NumericSensor 670 double NumericSensor::conversionFormula(double value) in conversionFormula() 684 double NumericSensor::unitModifier(double value) in unitModifier() 693 void NumericSensor::updateReading(bool available, bool functional, double value) in updateReading() 750 void NumericSensor::handleErrGetSensorReading() in handleErrGetSensorReading() 771 bool NumericSensor::checkThreshold(bool alarm, bool direction, double value, in checkThreshold() 799 bool NumericSensor::hasThresholdAlarm() in hasThresholdAlarm() [all …]
|
| H A D | numeric_sensor.hpp | 55 class NumericSensor class 58 NumericSensor(const pldm_tid_t tid, const bool sensorDisabled, 62 NumericSensor(const pldm_tid_t tid, const bool sensorDisabled, 66 ~NumericSensor() {}; in ~NumericSensor()
|
| H A D | terminus.hpp | 147 std::vector<std::shared_ptr<NumericSensor>> numericSensors{}; 177 std::shared_ptr<NumericSensor> getSensorObject(SensorID id);
|
| H A D | sensor_manager.hpp | 97 exec::task<int> getSensorReading(std::shared_ptr<NumericSensor> sensor);
|
| H A D | terminus.cpp | 448 auto sensor = std::make_shared<NumericSensor>( in addNumericSensor() 554 auto sensor = std::make_shared<NumericSensor>( in addCompactNumericSensor() 569 std::shared_ptr<NumericSensor> Terminus::getSensorObject(SensorID id) in getSensorObject()
|
| H A D | sensor_manager.cpp | 288 std::shared_ptr<NumericSensor> sensor) in getSensorReading()
|
| /openbmc/pldm/platform-mc/test/ |
| H A D | numeric_sensor_test.cpp | 10 TEST(NumericSensor, conversionFormula) in TEST() argument 95 pldm::platform_mc::NumericSensor sensor(0x01, true, numericSensorPdr, in TEST() 106 TEST(NumericSensor, checkThreshold) in TEST() argument 189 pldm::platform_mc::NumericSensor sensor(0x01, true, numericSensorPdr, in TEST()
|