| 2969 | } |
| 2970 | |
| 2971 | std::set<std::pair<service_t, instance_t>> configuration_impl::get_remote_services() const { |
| 2972 | std::scoped_lock its_lock(services_mutex_); |
| 2973 | std::set<std::pair<service_t, instance_t>> its_remote_services; |
| 2974 | |
| 2975 | for (const auto& [key, service] : services_) { |
| 2976 | if (is_remote(service)) { |
| 2977 | its_remote_services.insert(std::make_pair(key.service(), key.instance())); |
| 2978 | } |
| 2979 | } |
| 2980 | return its_remote_services; |
| 2981 | } |
| 2982 | |
| 2983 | bool configuration_impl::is_mandatory(const std::string& _name) const { |
| 2984 | // remove path from file name |
no test coverage detected