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

Method get_offered_service

implementation/routing/src/routing_manager_impl.cpp:1507–1514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1505}
1506
1507std::shared_ptr<serviceinfo> routing_manager_impl::get_offered_service(service_t _service, instance_t _instance) const {
1508 std::shared_ptr<serviceinfo> its_info;
1509 its_info = find_service(_service, _instance);
1510 if (its_info && !its_info->is_local()) {
1511 its_info.reset();
1512 }
1513 return its_info;
1514}
1515
1516std::map<instance_t, std::shared_ptr<serviceinfo>> routing_manager_impl::get_offered_service_instances(service_t _service) const {
1517 std::map<instance_t, std::shared_ptr<serviceinfo>> its_instances;

Callers 4

check_sent_offersMethod · 0.80
is_tcp_connectedMethod · 0.80

Calls 2

is_localMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected