summaryrefslogtreecommitdiffstats
path: root/control/zone.hpp
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2017-07-28 13:43:04 -0500
committerMatthew Barth <msbarth@us.ibm.com>2017-08-04 13:03:13 -0500
commitccc7770ecd6b758fcef98ce9e7cd585af3f3c77f (patch)
treef0199ba8f9d5e560ea3e95f7c9a99a9b98488cfe /control/zone.hpp
parent771659fcd288e40eda8fb80fe04f32b5d18d3599 (diff)
downloadphosphor-fan-presence-ccc7770ecd6b758fcef98ce9e7cd585af3f3c77f.tar.gz
phosphor-fan-presence-ccc7770ecd6b758fcef98ce9e7cd585af3f3c77f.zip
Initial updates to support preconditions
Any defined preconditions for a set speed event must be satisfied prior to configuring the event parameters for fan control. These preconditions will accept a list of group entries that include the value the group's property must be to have the precondition met for that group. Once all preconditions are met, the set speed event will be initialized and become active. Change-Id: Ia5555be55c5937c891af527bea63da1546655b2f Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'control/zone.hpp')
-rw-r--r--control/zone.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/control/zone.hpp b/control/zone.hpp
index 706d9c2..077bfcf 100644
--- a/control/zone.hpp
+++ b/control/zone.hpp
@@ -329,11 +329,11 @@ class Zone
std::vector<sdbusplus::server::match::match> _matches;
/**
- * @brief Initialize all the set speed event properties and actions
+ * @brief Initialize a set speed event properties and actions
*
- * @param[in] def - zone definition containing set speed events
+ * @param[in] event - Set speed event
*/
- void initEvents(const ZoneDefinition& def);
+ void initEvent(const SetSpeedEvent& event);
/**
* @brief Refresh the given property's cached value
OpenPOWER on IntegriCloud