summaryrefslogtreecommitdiffstats
path: root/control/types.hpp
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2017-09-22 12:43:57 -0500
committerMatthew Barth <msbarth@us.ibm.com>2017-11-07 13:54:35 -0600
commit67967f9a3f8e779d897a66cc6d559783911b2c14 (patch)
treea8e478d4e622635b23436347ca3b3463a93052a1 /control/types.hpp
parente3bab01d16c1b2b126b37295b13911bf17bfb0bd (diff)
downloadphosphor-fan-presence-67967f9a3f8e779d897a66cc6d559783911b2c14.tar.gz
phosphor-fan-presence-67967f9a3f8e779d897a66cc6d559783911b2c14.zip
Generate selected match strings and signals
The available matches and their associated signals are now listed within the events yaml and can be added to the list of matches to register for per event. Change-Id: I65f657038afe7c68a421adb4820ea09e275be06d Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'control/types.hpp')
-rw-r--r--control/types.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/control/types.hpp b/control/types.hpp
index a670810..f6b2b60 100644
--- a/control/types.hpp
+++ b/control/types.hpp
@@ -58,16 +58,16 @@ using Timer = std::tuple<std::chrono::seconds>;
constexpr auto signaturePos = 0;
constexpr auto handlerObjPos = 1;
-using PropertyChange = std::tuple<std::string, Handler>;
+using Signal = std::tuple<std::string, Handler>;
constexpr auto groupPos = 0;
constexpr auto actionsPos = 1;
constexpr auto timerPos = 2;
-constexpr auto propChangeListPos = 3;
+constexpr auto signalsPos = 3;
using SetSpeedEvent = std::tuple<Group,
std::vector<Action>,
Timer,
- std::vector<PropertyChange>>;
+ std::vector<Signal>>;
constexpr auto eventGroupPos = 0;
constexpr auto eventHandlerPos = 1;
OpenPOWER on IntegriCloud