Lines Matching +full:d +full:- +full:bus

5 #include <sdbusplus/bus/match.hpp>
10 namespace match_rules = sdbusplus::bus::match::rules;
30 * @param[in] path - The D-Bus path that will be watched
31 * @param[in] interface - The D-Bus interface that will be watched
39 * @brief The D-Bus path
44 * @brief The D-Bus interface
52 std::vector<sdbusplus::bus::match_t> _matches;
58 * This class allows the user to be kept up to data with a D-Bus
63 * the property is on D-Bus at the time.
67 * The DataInterface class is used to access D-Bus, and is a template
87 * Reads the property if it is on D-Bus, and sets up the match
90 * @param[in] bus - The sdbusplus bus object
91 * @param[in] path - The D-Bus path of the property
92 * @param[in] interface - The D-Bus interface that contains the property
93 * @param[in] propertyName - The property name
94 * @param[in] service - The D-Bus service to use for the property read.
96 * @param[in] dataIface - The DataInterface object
97 * @param[in] func - The callback used any time the property is read
99 PropertyWatcher(sdbusplus::bus_t& bus, const std::string& path, in PropertyWatcher() argument
106 bus, match_rules::propertiesChanged(_path, _interface), in PropertyWatcher()
111 bus, in PropertyWatcher()
129 * Reads the property if it is on D-Bus, and sets up the match
136 * @param[in] bus - The sdbusplus bus object
137 * @param[in] path - The D-Bus path of the property
138 * @param[in] interface - The D-Bus interface that contains the property
139 * @param[in] propertyName - The property name
140 * @param[in] dataIface - The DataInterface object
141 * @param[in] func - The callback used any time the property is read
143 PropertyWatcher(sdbusplus::bus_t& bus, const std::string& path, in PropertyWatcher() argument
147 PropertyWatcher(bus, path, interface, propertyName, "", dataIface, func) in PropertyWatcher()
151 * @brief Reads the property on D-Bus, and calls
156 * @param[in] dataIface - The DataInterface object
157 * @param[in] service - The D-Bus service to make the getProperty
181 * @param[in] msg - The sdbusplus message object
193 _setFunc(prop->second); in propChanged()
202 * @param[in] msg - The sdbusplus message object
214 auto prop = iface->second.find(_name); in interfaceAdded()
215 if (prop != iface->second.end()) in interfaceAdded()
217 _setFunc(prop->second); in interfaceAdded()
224 * @brief The D-Bus property name
238 * This class allows the user to be kept up to data with a D-Bus
240 * function that is passed a map of the D-Bus property names and values
244 * the interface is on D-Bus at the time.
248 * The DataInterface class is used to access D-Bus, and is a template
268 * Reads all properties on the interface if it is on D-Bus,
272 * @param[in] bus - The sdbusplus bus object
273 * @param[in] path - The D-Bus path of the property
274 * @param[in] interface - The D-Bus interface that contains the property
275 * @param[in] dataIface - The DataInterface object
276 * @param[in] func - The callback used any time the property is read
278 InterfaceWatcher(sdbusplus::bus_t& bus, const std::string& path, in InterfaceWatcher() argument
284 bus, match_rules::propertiesChanged(_path, _interface), in InterfaceWatcher()
289 bus, in InterfaceWatcher()
305 * @brief Reads the interface's properties on D-Bus, and
308 * @param[in] dataIface - The DataInterface object
328 * @param[in] msg - The sdbusplus message object
345 * @param[in] msg - The sdbusplus message object
357 _setFunc(iface->second); in interfaceAdded()