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

Method cleanup_routing_data

implementation/routing/src/routing_manager_client.cpp:2397–2407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2395}
2396
2397void routing_manager_client::cleanup_routing_data() {
2398 {
2399 std::scoped_lock lock(consumer_mutex_);
2400 auto removed = available_services_.clear();
2401 for (auto const& [service, instance, major, minor, client] : removed) {
2402 on_stop_offer_service(service, instance, major, minor, lock);
2403 }
2404 available_services_history_.clear();
2405 address_table_.clear();
2406 }
2407}
2408
2409void routing_manager_client::cleanup_subscriber(std::scoped_lock<std::mutex> const& _provider_lock) {
2410 // Tracks unique (service, instance, eventgroup, client) tuples for which

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected