diff options
Diffstat (limited to 'control/zone.hpp')
-rw-r--r-- | control/zone.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/control/zone.hpp b/control/zone.hpp index a56b1c7..6e81bd1 100644 --- a/control/zone.hpp +++ b/control/zone.hpp @@ -247,6 +247,15 @@ class Zone */ void decTimerExpired(); + /** + * @brief Callback function for event timers that processes the given + * action for a group + * + * @param[in] eventGroup - Group to process action on + * @param[in] eventAction - Event action to run + */ + void timerExpired(Group eventGroup, Action eventAction); + private: /** @@ -330,6 +339,11 @@ class Zone phosphor::fan::util::Timer _decTimer; /** + * Dbus event used on set speed event timers + */ + phosphor::fan::event::EventPtr& _sdEvents; + + /** * The vector of fans in this zone */ std::vector<std::unique_ptr<Fan>> _fans; @@ -353,6 +367,11 @@ class Zone std::vector<SignalEvent> _signalEvents; /** + * @brief List of timers for events + */ + std::vector<std::unique_ptr<phosphor::fan::util::Timer>> _timerEvents; + + /** * @brief Refresh the given property's cached value * * @param[in] bus - the bus to use |