Add dbus support to TachSensor

TachSensor will match on properties changed
signals for the Value and Target properties.
When these occur, it will load in those
properties and then tell the Fan class there
was a change.

Also, TachSensor will read in the Target property
during construction so it will have a valid value
to check against right away.

Change-Id: I2dc2cacf5804826c6b0e0ea91196cbdaa4d5b893
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/monitor/fan.hpp b/monitor/fan.hpp
index 6cbd370..d79ae31 100644
--- a/monitor/fan.hpp
+++ b/monitor/fan.hpp
@@ -66,6 +66,18 @@
             std::shared_ptr<sd_event>& events,
             const FanDefinition& def);
 
+        /**
+         * @brief Callback function for when an input sensor changes
+         *
+         * Starts a timer, where if it expires then the sensor
+         * was slow for too long and can be considered not functional.
+         */
+        void tachChanged(TachSensor& sensor);
+
+        /**
+         * @brief Calls tachChanged(sensor) on each sensor
+         */
+        void tachChanged();
 
     private: