Home
last modified time | relevance | path

Searched refs:NumericSensor (Results 1 – 7 of 7) sorted by relevance

/openbmc/pldm/platform-mc/
H A Dnumeric_sensor.hpp55 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 Dnumeric_sensor.cpp18 inline bool NumericSensor::createInventoryPath( in createInventoryPath()
43 NumericSensor::NumericSensor( in NumericSensor() function in pldm::platform_mc::NumericSensor
434 NumericSensor::NumericSensor( in NumericSensor() function in pldm::platform_mc::NumericSensor
694 double NumericSensor::conversionFormula(double value) in conversionFormula()
702 double NumericSensor::unitModifier(double value) in unitModifier()
707 void NumericSensor::updateReading(bool available, bool functional, double value) in updateReading()
765 void NumericSensor::handleErrGetSensorReading() in handleErrGetSensorReading()
786 bool NumericSensor::checkThreshold(bool alarm, bool direction, double value, in checkThreshold()
814 void NumericSensor::updateThresholds() in updateThresholds()
918 int NumericSensor::triggerThresholdEvent( in triggerThresholdEvent()
H A Dsensor_manager.hpp86 exec::task<int> getSensorReading(std::shared_ptr<NumericSensor> sensor);
112 std::map<pldm_tid_t, std::queue<std::shared_ptr<NumericSensor>>>
H A Dterminus.hpp167 std::vector<std::shared_ptr<NumericSensor>> numericSensors{};
197 std::shared_ptr<NumericSensor> getSensorObject(SensorId id);
H A Dterminus.cpp419 auto sensor = std::make_shared<NumericSensor>( in addNumericSensor()
528 auto sensor = std::make_shared<NumericSensor>( in addCompactNumericSensor()
541 std::shared_ptr<NumericSensor> Terminus::getSensorObject(SensorId id) in getSensorObject()
H A Dsensor_manager.cpp247 SensorManager::getSensorReading(std::shared_ptr<NumericSensor> sensor) in getSensorReading()
/openbmc/pldm/platform-mc/test/
H A Dnumeric_sensor_test.cpp10 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()