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

Method find_events

implementation/routing/src/routing_manager_impl.cpp:4262–4275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4260}
4261
4262std::set<std::shared_ptr<event>> routing_manager_impl::find_events(service_t _service, instance_t _instance,
4263 eventgroup_t _eventgroup) const {
4264 std::scoped_lock its_lock(eventgroups_mutex_);
4265
4266 const auto search = eventgroups_.find(service_instance_t{_service, _instance});
4267 if (search != eventgroups_.end()) {
4268 const auto found_eventgroup = search->second.find(_eventgroup);
4269 if (found_eventgroup != search->second.end()) {
4270 return found_eventgroup->second->get_events();
4271 }
4272 }
4273
4274 return std::set<std::shared_ptr<event>>();
4275}
4276
4277std::vector<event_t> routing_manager_impl::find_events(service_t _service, instance_t _instance) const {
4278 std::vector<event_t> its_events;

Callers

nothing calls this directly

Calls 2

endMethod · 0.80
get_eventsMethod · 0.80

Tested by

no test coverage detected