Lines Matching +full:auto +full:- +full:string +full:- +full:detection

49 using sensorName = std::string;
55 const std::string sysfsName = "occ-hwmon";
79 * @param[in] event - sd_event unique pointer reference
80 * @param[in] path - DBus object path
81 * @param[in] manager - OCC manager instance
82 * @param[in] callBack - Callback handler to invoke during
84 * @param[in] resetCallBack - callback handler to invoke for resetting the
128 (std::string(OCC_NAME) + std::to_string(instance))) in Status()
144 this->emit_object_added(); in Status()
147 /** @brief Since we are overriding the setter-occActive but not the
148 * getter-occActive, we need to have this using in order to
149 * allow passthrough usage of the getter-occActive
155 * @param[in] value - Intended value
157 * @return - Updated value of the property
161 /** @brief Starts OCC error detection */
167 /** @brief Stops OCC error detection */
196 * @param[in] d - description of the error that occurred
206 * @param[in] ambient - temperature to send (0xFF will force read
208 * @param[in] altitude - altitude to send (0xFFFF = unavailable)
217 * @param[in] wasReceived - true if PLDM sensor was read
262 std::string path;
265 std::string procPath;
328 * @param[in] msg - Data associated with subscribed signal
340 static int getInstance(const std::string& path) in getInstance()
342 return (path.empty() ? 0 : path.back() - '0'); in getInstance()
364 * @param[in] estimatedPath - Estimated OCC Dbus object path
367 static std::string getDbusPath(const std::string& estimatedPath) in getDbusPath()
371 auto it = sensorMap.find(getInstance(estimatedPath)); in getDbusPath()
374 auto& name = std::get<1>(it->second); in getDbusPath()
377 auto objectPath = fs::path(estimatedPath); in getDbusPath()
379 return objectPath.string(); in getDbusPath()