Lines Matching full:sensor
20 * The sensor trust manager class. It can be asked if a tach sensor's
21 * reading can be trusted or not, based on the trust groups the sensor
27 * See the trust::Group documentation for more details on sensor trust.
64 * Checks if a sensor value can be trusted
66 * Checks if the sensor is trusted in each group
77 * in the same call to this function a sensor shouldn't
80 * @param[in] sensor - the sensor to check
82 * @return bool - if sensor is trusted in all groups or not
84 bool checkTrust(const monitor::TachSensor& sensor) in checkTrust() argument
90 if (group->inGroup(sensor)) in checkTrust()
93 std::tie(trust, changed) = group->checkTrust(sensor); in checkTrust()
118 * Registers a sensor with any trust groups that are interested
120 * @param[in] sensor - the sensor to register
122 void registerSensor(std::shared_ptr<monitor::TachSensor>& sensor) in registerSensor() argument
124 std::for_each(groups.begin(), groups.end(), [&sensor](auto& group) { in registerSensor()
125 group->registerSensor(sensor); in registerSensor()
131 * The list of sensor trust groups