Add setting zone speed action

Enable an action to be defined that sets the zone to a given speed when
a number of properties are set to a given value

Change-Id: I5252a20a24bdb14dee63080f2c08b080c82ad7e8
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/control/zone.hpp b/control/zone.hpp
index 601c002..d8f3fe4 100644
--- a/control/zone.hpp
+++ b/control/zone.hpp
@@ -71,6 +71,20 @@
             _properties[object][property] = value;
         };
 
+        /**
+         * @brief Get the value of an object's property
+         *
+         * @param[in] object - Name of the object containing the property
+         * @param[in] property - Property name
+         *
+         * @return - The property value
+         */
+        inline auto getPropertyValue(const std::string& object,
+                                     const std::string& property)
+        {
+            return _properties[object][property];
+        };
+
     private:
 
         /**
@@ -126,7 +140,7 @@
           * @param[in] eventData - The event's data
           */
          void handleEvent(sdbusplus::message::message& msg,
-                          const Handler& handler);
+                          const EventData& eventData);
 };
 
 }