Lines Matching full:group
24 * @class Group
26 * An abstract sensor trust group base class.
32 * It's a group in that there can be multiple sensors in the group
34 * For example, if all sensors in the group report a speed of zero,
35 * then no sensor in the group is trusted. All sensors in the group
38 * Trust is calculated when checkTrust() is called after a group
43 class Group class
46 Group() = delete;
47 virtual ~Group() = default;
48 Group(const Group&) = delete;
49 Group& operator=(const Group&) = delete;
50 Group(Group&&) = delete;
51 Group& operator=(Group&&) = delete;
56 * @param[in] names - the names and inclusion of sensors in the group
58 explicit Group(const std::vector<GroupDefinition>& names) : _names(names) {} in Group() function in phosphor::fan::trust::Group
61 * Used to register a TachSensor object with the group.
62 * It's only added to the group if the sensor's name is
63 * in the group's list of names.
82 * Says if a sensor belongs to the group.
85 * used to say if a TachSensor is in the group.
98 * Cancels monitoring on all sensors in the group.
100 * Called when the group just changed to not trusted,
111 * Starts monitoring on all sensors in the group by processing their current
114 * Called when the group just changed to trusted.
123 * Determines the trust for this group based on this
129 * If this is called with a sensor not in the group,
153 * Says if all sensors in the group are currently trusted,
156 * @return bool - if the group's sensors are trusted or not
176 * The sensor objects and their trust inclusion in the group.
184 * Checks if the group's sensors are trusted.
189 * @return bool - if group is trusted or not
205 * The current trust state of the group
216 * determining trust for this group