MCPcopy Create free account
hub / github.com/COVESA/vsomeip / ~application_impl

Method ~application_impl

implementation/runtime/src/application_impl.cpp:67–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67application_impl::~application_impl() {
68 runtime_->remove_application(name_);
69#ifndef VSOMEIP_ENABLE_MULTIPLE_ROUTING_MANAGERS
70 if (configuration_ && plugin_manager_) {
71 auto its_plugin = plugin_manager_->get_plugin(plugin_type_e::CONFIGURATION_PLUGIN, VSOMEIP_CFG_LIBRARY);
72 if (its_plugin) {
73 auto its_configuration_plugin = std::dynamic_pointer_cast<configuration_plugin>(its_plugin);
74 if (its_configuration_plugin) {
75 bool its_removed = its_configuration_plugin->remove_configuration(name_);
76 if (!its_removed) {
77 VSOMEIP_WARNING_P << "Unable to remove configuration entry stored for " << name_;
78 }
79 }
80 }
81 }
82#endif
83}
84
85bool application_impl::init() {
86 std::scoped_lock its_initialized_lock{initialize_mutex_};

Callers

nothing calls this directly

Calls 3

remove_applicationMethod · 0.80
remove_configurationMethod · 0.80
get_pluginMethod · 0.45

Tested by

no test coverage detected