Lines Matching full:iface
71 * @param[in] iface - An sdbusplus server threshold instance.
75 void checkThresholds(std::any& iface, SensorValueType value) in checkThresholds() argument
77 auto realIface = std::any_cast<std::shared_ptr<T>>(iface); in checkThresholds()
126 std::shared_ptr<T> iface; in addThreshold() local
134 iface = std::make_shared<T>(bus, objPath.c_str(), in addThreshold()
139 (*iface.*Thresholds<T>::setLo)(lo); in addThreshold()
140 auto alarmLowState = (*iface.*Thresholds<T>::getAlarmLow)(); in addThreshold()
141 (*iface.*Thresholds<T>::alarmLo)(value <= lo); in addThreshold()
146 (*iface.*Thresholds<T>::assertLowSignal)(value); in addThreshold()
150 (*iface.*Thresholds<T>::deassertLowSignal)(value); in addThreshold()
157 (*iface.*Thresholds<T>::setHi)(hi); in addThreshold()
158 auto alarmHighState = (*iface.*Thresholds<T>::getAlarmHigh)(); in addThreshold()
159 (*iface.*Thresholds<T>::alarmHi)(value >= hi); in addThreshold()
164 (*iface.*Thresholds<T>::assertHighSignal)(value); in addThreshold()
168 (*iface.*Thresholds<T>::deassertHighSignal)(value); in addThreshold()
173 obj[type] = iface; in addThreshold()
176 return iface; in addThreshold()