diff options
Diffstat (limited to 'monitor/tach_sensor.hpp')
-rw-r--r-- | monitor/tach_sensor.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/monitor/tach_sensor.hpp b/monitor/tach_sensor.hpp index 9b10110..59b99d2 100644 --- a/monitor/tach_sensor.hpp +++ b/monitor/tach_sensor.hpp @@ -167,6 +167,14 @@ class TachSensor */ void handleTachChange(sdbusplus::message::message& msg); + /** + * @brief Updates the Functional property in the inventory + * for this tach sensor based on the value passed in. + * + * @param[in] functional - If the Functional property should + * be set to true or false. + */ + void updateInventory(bool functional); /** * @brief the dbus object @@ -186,6 +194,11 @@ class TachSensor const std::string _name; /** + * @brief The inventory name of the sensor, including the full path + */ + const std::string _invName; + + /** * @brief If functional (not too slow). The parent * fan object sets this. */ |