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

Method get_offered_services_async

implementation/runtime/src/application_impl.cpp:2134–2140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2132}
2133
2134void application_impl::get_offered_services_async(offer_type_e _offer_type, const offered_services_handler_t& _handler) {
2135 {
2136 std::scoped_lock its_lock{offered_services_handler_mutex_};
2137 offered_services_handler_ = _handler;
2138 }
2139 routing_->send_get_offered_services_info(get_client(), _offer_type);
2140}
2141
2142void application_impl::on_offered_services_info(std::vector<std::pair<service_t, instance_t>>& _services) {
2143 bool has_offered_services_handler(false);

Callers 7

test_offered_servicesMethod · 0.80
runMethod · 0.80
on_message_shutdownMethod · 0.80

Calls 1

Tested by 7

test_offered_servicesMethod · 0.64
runMethod · 0.64
on_message_shutdownMethod · 0.64