| 112 | } |
| 113 | |
| 114 | void ClientInterfaceObjectManager::m_connectNeededCallbacks() { |
| 115 | auto failedPaths = std::unordered_set<std::string>{}; |
| 116 | auto successfulPaths = size_t{0}; |
| 117 | /// Call our little lambda with every path that has interfaces but no |
| 118 | /// handler, and see what we can do. |
| 119 | m_interfaces.visitPathsWithoutHandlers([&](std::string const &path) { |
| 120 | auto success = m_connectCallbacksOnPath(path); |
| 121 | if (success) { |
| 122 | successfulPaths++; |
| 123 | } else { |
| 124 | failedPaths.insert(path); |
| 125 | } |
| 126 | }); |
| 127 | OSVR_DEV_VERBOSE("Connected " << successfulPaths << " of " |
| 128 | << successfulPaths + failedPaths.size() |
| 129 | << " unconnected paths successfully"); |
| 130 | } |
| 131 | } // namespace client |
| 132 | } // namespace osvr |
nothing calls this directly
no test coverage detected