summaryrefslogtreecommitdiffstats
path: root/control/zone.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'control/zone.hpp')
-rw-r--r--control/zone.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/control/zone.hpp b/control/zone.hpp
index 8869f91..9c08032 100644
--- a/control/zone.hpp
+++ b/control/zone.hpp
@@ -128,6 +128,17 @@ class Zone
};
/**
+ * @brief Set or update a service name owner in use
+ *
+ * @param[in] group - Group associated with service
+ * @param[in] name - Service name
+ * @param[in] hasOwner - Whether the service is owned or not
+ */
+ void setServiceOwner(const Group* group,
+ const std::string& name,
+ const bool hasOwner);
+
+ /**
* @brief Initialize a set speed event properties and actions
*
* @param[in] event - Set speed event
@@ -372,6 +383,11 @@ class Zone
std::map<const Group, bool> _active;
/**
+ * @brief Map of group service names
+ */
+ std::map<const Group, std::vector<Service>> _services;
+
+ /**
* @brief List of signal event arguments and Dbus matches for callbacks
*/
std::vector<SignalEvent> _signalEvents;
OpenPOWER on IntegriCloud