Lines Matching full:zone
4 #include "zone.hpp"
18 * @brief A handler function to set/update a property on a zone
19 * @details Sets or updates a zone property to the given value using the
20 * provided zone dbus object's set property function
22 * @param[in] intf - Interface on zone object
24 * @param[in] func - Zone set property function pointer
29 * A lambda function to set/update the zone property
32 auto setZoneProperty(const char* intf, const char* prop, T (Zone::*func)(T), in setZoneProperty()
35 return [=, value = std::forward<T>(value)](auto& zone) { in setZoneProperty() argument
36 (zone.*func)(value); in setZoneProperty()
39 zone.setPersisted(intf, prop); in setZoneProperty()
59 return [](auto& zone, auto& path, auto& intf, auto& prop, T&& arg) { in setProperty() argument
60 zone.setPropertyValue(path, intf, prop, std::forward<T>(arg)); in setProperty()
76 return [group = std::move(group)](auto& zone, auto& name, bool hasOwner) { in setService() argument
78 zone.setServiceOwner(&group, name, hasOwner); in setService()
95 return [=](auto& zone) { zone.removeObjectInterface(path, interface); }; in removeInterface() argument