Lines Matching refs:activeSensor
39 auto it = std::find_if(std::next(activeSensor), sensors.end(), in stateChanged()
46 activeSensor->get().stop(); in stateChanged()
49 while (activeSensor != it) in stateChanged()
52 activeSensor->get().fail(); in stateChanged()
53 ++activeSensor; in stateChanged()
59 activeSensor = it; in stateChanged()
82 activeSensor = std::find_if(sensors.begin(), sensors.end(), [](auto& s) { in monitor()
85 if (activeSensor == sensors.end()) in monitor()
89 activeSensor = sensors.begin(); in monitor()
92 if (activeSensor != sensors.begin()) in monitor()
102 while (it != activeSensor) in monitor()
109 setPresence(fan, activeSensor->get().start()); in monitor()