| 4260 | } |
| 4261 | |
| 4262 | std::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 | |
| 4277 | std::vector<event_t> routing_manager_impl::find_events(service_t _service, instance_t _instance) const { |
| 4278 | std::vector<event_t> its_events; |
nothing calls this directly
no test coverage detected