Searched refs:NumericSensor (Results 1 – 7 of 7) sorted by relevance
/openbmc/pldm/platform-mc/ |
H A D | numeric_sensor.hpp | 45 class NumericSensor class 48 NumericSensor(const pldm_tid_t tid, const bool sensorDisabled, 52 NumericSensor(const pldm_tid_t tid, const bool sensorDisabled, 56 ~NumericSensor() {}; in ~NumericSensor()
|
H A D | numeric_sensor.cpp | 18 NumericSensor::NumericSensor( in NumericSensor() function in pldm::platform_mc::NumericSensor 361 NumericSensor::NumericSensor( in NumericSensor() function in pldm::platform_mc::NumericSensor 571 double NumericSensor::conversionFormula(double value) in conversionFormula() 579 double NumericSensor::unitModifier(double value) in unitModifier() 584 void NumericSensor::updateReading(bool available, bool functional, double value) in updateReading() 617 void NumericSensor::handleErrGetSensorReading() in handleErrGetSensorReading() 630 bool NumericSensor::checkThreshold(bool alarm, bool direction, double value, in checkThreshold() 658 void NumericSensor::updateThresholds() in updateThresholds() 754 int NumericSensor::triggerThresholdEvent( in triggerThresholdEvent()
|
H A D | sensor_manager.hpp | 86 exec::task<int> getSensorReading(std::shared_ptr<NumericSensor> sensor); 112 std::map<pldm_tid_t, std::queue<std::shared_ptr<NumericSensor>>>
|
H A D | terminus.hpp | 145 std::vector<std::shared_ptr<NumericSensor>> numericSensors{}; 160 std::shared_ptr<NumericSensor> getSensorObject(SensorId id);
|
H A D | terminus.cpp | 418 auto sensor = std::make_shared<NumericSensor>( in addNumericSensor() 527 auto sensor = std::make_shared<NumericSensor>( in addCompactNumericSensor() 540 std::shared_ptr<NumericSensor> Terminus::getSensorObject(SensorId id) in getSensorObject()
|
H A D | sensor_manager.cpp | 239 SensorManager::getSensorReading(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()
|