Lines Matching full:association
92 // Use associationOwners to find the association paths and endpoints in removeAssociation()
94 // these endpoints from the actual association D-Bus objects, and if in removeAssociation()
95 // the endpoints property is then empty, the whole association object in removeAssociation()
97 // association, and also that sourcePath is the path of the object in removeAssociation()
99 // association path itself. in removeAssociation()
108 // Find the association paths and endpoints owned by this object in removeAssociation()
129 // If we were still waiting on the other side of this association to in removeAssociation()
186 // Check if this source even still has each association that in checkAssociationEndpointRemoves()
189 // association path to be removed if no endpoints remain. in checkAssociationEndpointRemoves()
198 // The association is still there. Check if the endpoints in checkAssociationEndpointRemoves()
242 const std::vector<Association>& associations, const std::string& path, in associationChanged()
248 for (const Association& association : associations) in associationChanged() local
253 std::tie(forward, reverse, objectPath) = association; in associationChanged()
257 std::cerr << "Found invalid association on path " << path << "\n"; in associationChanged()
261 // Can't create this association if the endpoint isn't on D-Bus. in associationChanged()
318 Association assoc{type, endpointType, endpointPath}; in addPendingAssociation()
329 // Already waiting on this path for another association, in addPendingAssociation()
439 // Ensure the other side of the association still exists in checkIfPendingAssociation()
447 // Add both sides of the association: in checkIfPendingAssociation()
475 // association request. in checkIfPendingAssociation()
476 std::cerr << "Error adding association: assocPath " << assocPath in checkIfPendingAssociation()
505 // other side of the association. in findAssociations()
534 // Now we know the full association: in findAssociations()
536 Association association{thisType, otherType, otherPath}; in findAssociations() local
537 associationData.emplace_back(owner, association); in findAssociations()
545 /** @brief Remove an endpoint for a particular association from D-Bus.
547 * If the last endpoint is gone, remove the whole association interface,
550 * @param[in] assocPath - the association path
552 * @param[in,out] assocMaps - the association maps
574 /** @brief Remove an endpoint from the association owners map.
576 * For a specific association path and owner, remove the endpoint.
580 * @param[in] assocPath - the association object path
582 * @param[in] owner - the owner of the association
583 * @param[in,out] assocMaps - the association maps
636 for (const auto& [owner, association] : associationData) in moveAssociationToPending()
639 const auto& forwardType = std::get<forwardTypePos>(association); in moveAssociationToPending()
640 const auto& reversePath = std::get<reversePathPos>(association); in moveAssociationToPending()
641 const auto& reverseType = std::get<reverseTypePos>(association); in moveAssociationToPending()
646 // Remove both sides of the association from assocMaps.ifaces in moveAssociationToPending()
652 // Remove both sides of the association from assocMaps.owners in moveAssociationToPending()