Lines Matching refs:val_to_speed
130 Action set_floor_from_average_sensor_value(std::map<T, uint64_t>&& val_to_speed) in set_floor_from_average_sensor_value() argument
132 return [val_to_speed = std::move(val_to_speed)](control::Zone& zone, in set_floor_from_average_sensor_value()
158 auto it = std::find_if(val_to_speed.begin(), val_to_speed.end(), in set_floor_from_average_sensor_value()
162 if (it != std::end(val_to_speed)) in set_floor_from_average_sensor_value()
188 set_ceiling_from_average_sensor_value(std::map<T, uint64_t>&& val_to_speed) in set_ceiling_from_average_sensor_value() argument
190 return [val_to_speed = in set_ceiling_from_average_sensor_value()
191 std::move(val_to_speed)](Zone& zone, const Group& group) { in set_ceiling_from_average_sensor_value()
221 for (auto it = val_to_speed.rbegin(); in set_ceiling_from_average_sensor_value()
222 it != val_to_speed.rend(); ++it) in set_ceiling_from_average_sensor_value()
224 if (it == val_to_speed.rbegin() && in set_ceiling_from_average_sensor_value()
232 else if (std::next(it, 1) == val_to_speed.rend() && in set_ceiling_from_average_sensor_value()
253 for (auto it = val_to_speed.begin(); in set_ceiling_from_average_sensor_value()
254 it != val_to_speed.end(); ++it) in set_ceiling_from_average_sensor_value()
256 if (it == val_to_speed.begin() && in set_ceiling_from_average_sensor_value()
264 else if (std::next(it, 1) == val_to_speed.end() && in set_ceiling_from_average_sensor_value()