control: Use event groups on `signal` triggers
Use the provided event groups when enabling any `signal` triggers
instead of the action groups. Event groups are what's used with setting
up event triggers and may or may not be a different set of groups than
what's used when actions are run depending on event configuration.
Change-Id: I78b6255ada52ed718469a6700b4bc2603b2a85cb
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
diff --git a/control/json/manager.hpp b/control/json/manager.hpp
index eb5a6ca..86e47dd 100644
--- a/control/json/manager.hpp
+++ b/control/json/manager.hpp
@@ -83,8 +83,7 @@
constexpr auto Prop = 2;
using SignalObject = std::tuple<std::string, std::string, std::string>;
/* Dbus signal actions */
-using SignalActions =
- std::vector<std::reference_wrapper<std::unique_ptr<ActionBase>>>;
+using SignalActions = std::vector<std::unique_ptr<ActionBase>>&;
/**
* Signal handler function that handles parsing a signal's message for a
* particular signal object and stores the results in the manager