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

Method get_debounce

implementation/configuration/src/configuration_impl.cpp:4226–4239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4224}
4225
4226std::shared_ptr<debounce_filter_impl_t> configuration_impl::get_debounce(const std::string& _name, service_t _service, instance_t _instance,
4227 event_t _event) const {
4228 auto its_application{applications_.find(_name)};
4229 if (its_application != applications_.end()) {
4230 const auto search = its_application->second.debounces_.find(service_instance_t{_service, _instance});
4231 if (search != its_application->second.debounces_.end()) {
4232 const auto found_event = search->second.find(_event);
4233 if (found_event != search->second.end()) {
4234 return found_event->second;
4235 }
4236 }
4237 }
4238 return nullptr;
4239}
4240
4241void configuration_impl::load_network_options(const configuration_element& _element) {
4242 try {

Callers 1

subscribeMethod · 0.80

Calls 1

endMethod · 0.80

Tested by

no test coverage detected