summaryrefslogtreecommitdiffstats
path: root/control/types.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'control/types.hpp')
-rw-r--r--control/types.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/control/types.hpp b/control/types.hpp
index 0d7610c..b0b84f3 100644
--- a/control/types.hpp
+++ b/control/types.hpp
@@ -81,8 +81,11 @@ constexpr auto eventHandlerPos = 2;
constexpr auto eventActionsPos = 3;
using EventData = std::tuple<Group, std::string, Handler, std::vector<Action>>;
-constexpr auto timerTimerPos = 0;
-using TimerEvent = std::tuple<phosphor::fan::util::Timer>;
+constexpr auto timerEventDataPos = 0;
+constexpr auto timerTimerPos = 1;
+using TimerEvent =
+ std::tuple<std::unique_ptr<EventData>,
+ std::unique_ptr<phosphor::fan::util::Timer>>;
constexpr auto signalEventDataPos = 0;
constexpr auto signalMatchPos = 1;
OpenPOWER on IntegriCloud