MCPcopy Create free account
hub / github.com/COVESA/vsomeip / get_remote_services

Method get_remote_services

implementation/configuration/src/configuration_impl.cpp:2971–2981  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2969}
2970
2971std::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
2983bool configuration_impl::is_mandatory(const std::string& _name) const {
2984 // remove path from file name

Callers 2

init_routing_infoMethod · 0.80

Calls 3

insertMethod · 0.80
instanceMethod · 0.80
serviceMethod · 0.45

Tested by

no test coverage detected