Lines Matching refs:value
70 SensorType type, double value, const std::string& rail, in DBusSensor() argument
92 dbusObject->value(value, skipSignal);
137 void DBusSensor::setValue(double value) in setValue() argument
140 if (shouldUpdateValue(value)) in setValue()
142 dbusObject->value(value); in setValue()
270 double currentValue = dbusObject->value(); in setValueToNaN()
280 dbusObject->value(std::numeric_limits<double>::quiet_NaN()); in setValueToNaN()
284 bool DBusSensor::shouldUpdateValue(double value) in shouldUpdateValue() argument
290 double currentValue = dbusObject->value(); in shouldUpdateValue()
305 shouldUpdate = (std::abs(value - currentValue) >= hysteresis); in shouldUpdateValue()
308 shouldUpdate = (value > currentValue); in shouldUpdateValue()
311 shouldUpdate = (value < currentValue); in shouldUpdateValue()