Lines Matching +full:auto +full:- +full:string +full:- +full:detection
14 #include <string>
27 constexpr auto confFileName = "config.json";
28 constexpr auto confAppName = "presence";
32 constexpr auto fanPolicyFanPos = 0;
33 constexpr auto fanPolicySensorListPos = 1;
56 * @param[in] bus - sdbusplus bus object
63 * @return - The fan presence policies
71 * @param[in] sigSrc - sd_event_source signal wrapper
72 * @param[in] sigInfo - signal info on signal fd
95 static const std::map<std::string, methodHandler> _methods;
101 static const std::map<std::string, rpolicyHandler> _rpolicies;
117 * @param[in] jsonConf - parsed json configuration data
122 * @brief Get the redundancy policy of presence detection for a fan
124 * @param[in] rpolicy - policy type to construct
125 * @param[in] fpolicy - fan policy object
126 * @param[in] eepromDevice - EEPROM device object
128 * @return - The constructed redundancy policy type for the fan
136 * Methods of fan presence detection function declarations
141 * @brief Fan presence detection method by tach feedback
143 * @param[in] fanIndex - fan object index to add tach method
144 * @param[in] method - json properties for a tach method
146 * @return - A presence sensor to detect fan presence by tach feedback
151 * @brief Fan presence detection method by gpio
153 * @param[in] fanIndex - fan object index to add gpio method
154 * @param[in] method - json properties for a gpio method
156 * @return - A presence sensor to detect fan presence by gpio
163 * Redundancy policies for fan presence detection function declarations
171 * @param[in] fan - fan policy object with the presence sensors for the fan
172 * @param[in] eepromDevice - EEPROM device object
174 * @return - An `Anyof` redundancy policy
183 * @param[in] fan - fan policy object with the presence sensors for the fan
184 * @param[in] eepromDevice - EEPROM device object
186 * @return - A `Fallback` redundancy policy