Home
last modified time | relevance | path

Searched refs:WarningObject (Results 1 – 6 of 6) sorted by relevance

/openbmc/phosphor-hwmon/
H A Dmainloop.cpp49 decltype(Thresholds<WarningObject>::setLo) Thresholds<WarningObject>::setLo =
50 &WarningObject::warningLow;
51 decltype(Thresholds<WarningObject>::setHi) Thresholds<WarningObject>::setHi =
52 &WarningObject::warningHigh;
53 decltype(Thresholds<WarningObject>::getLo) Thresholds<WarningObject>::getLo =
54 &WarningObject::warningLow;
55 decltype(Thresholds<WarningObject>::getHi) Thresholds<WarningObject>::getHi =
58 Thresholds<WarningObject>::alarmLo = &WarningObject::warningAlarmLow;
60 Thresholds<WarningObject>::alarmHi = &WarningObject::warningAlarmHigh;
62 Thresholds<WarningObject>::getAlarmLow = &WarningObject::warningAlarmLow;
[all …]
H A Dthresholds.hpp24 struct Thresholds<WarningObject>
29 static SensorValueType (WarningObject::*const setLo)(SensorValueType);
30 static SensorValueType (WarningObject::*const setHi)(SensorValueType);
31 static SensorValueType (WarningObject::*const getLo)() const;
32 static SensorValueType (WarningObject::*const getHi)() const;
33 static bool (WarningObject::*const alarmLo)(bool);
34 static bool (WarningObject::*const alarmHi)(bool);
35 static bool (WarningObject::*const getAlarmLow)() const;
36 static bool (WarningObject::*const getAlarmHigh)() const;
37 static void (WarningObject::*const assertLowSignal)(SensorValueType);
[all …]
H A Dinterface.hpp20 using WarningObject = ServerObject<WarningInterface>; typedef
/openbmc/phosphor-virtual-sensor/
H A Dthresholds.hpp22 using WarningObject = ServerObject<threshold_ns::Warning>; typedef
56 struct Threshold<WarningObject> : public WarningObject, public Hysteresis
59 using WarningObject::WarningObject;
76 WarningObject(bus, path), bus(bus), objPath(std::string(path)) in Threshold()
81 return WarningObject::warningHigh(); in high()
85 return WarningObject::warningLow(); in low()
133 return WarningObject::warningHigh(value); in warningHigh()
145 return WarningObject::warningLow(value); in warningLow()
H A DvirtualSensor.hpp166 std::unique_ptr<Threshold<WarningObject>> warningIface;
H A DvirtualSensor.cpp618 std::make_unique<Threshold<WarningObject>>(bus, objPath.c_str()); in createThresholds()