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

Method clear_all_handler

implementation/runtime/src/application_impl.cpp:1878–1904  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1876}
1877
1878void application_impl::clear_all_handler() {
1879 unregister_state_handler();
1880 {
1881 std::scoped_lock its_lock{offered_services_handler_mutex_};
1882 offered_services_handler_ = nullptr;
1883 }
1884
1885 {
1886 std::scoped_lock availability_lock{availability_mutex_};
1887 availability_.clear();
1888 }
1889
1890 {
1891 std::scoped_lock its_lock{subscription_mutex_};
1892 subscription_.clear();
1893 }
1894
1895 {
1896 std::scoped_lock its_lock{members_mutex_};
1897 members_.clear();
1898 }
1899 {
1900 std::scoped_lock its_lock{handlers_mutex_};
1901 handlers_.clear();
1902 availability_handlers_.clear();
1903 }
1904}
1905
1906bool application_impl::is_routing() const {
1907 return is_routing_manager_host_;

Callers 15

stopMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80
stopMethod · 0.80
sendMethod · 0.80
stopMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by 15

stopMethod · 0.64
stopMethod · 0.64
stopMethod · 0.64
stopMethod · 0.64
stopMethod · 0.64
stopMethod · 0.64
stopMethod · 0.64
stopMethod · 0.64
sendMethod · 0.64
stopMethod · 0.64
stopMethod · 0.64
stopMethod · 0.64