| 2888 | } |
| 2889 | |
| 2890 | std::set<std::shared_ptr<event>> routing_manager_client::find_consumed_events(service_t _service, instance_t _instance, |
| 2891 | eventgroup_t _eventgroup) const { |
| 2892 | std::scoped_lock its_lock(consumer_mutex_); |
| 2893 | const auto search = consumed_eventgroups_.find(service_instance_t{_service, _instance}); |
| 2894 | if (search != consumed_eventgroups_.end()) { |
| 2895 | const auto found_eventgroup = search->second.find(_eventgroup); |
| 2896 | if (found_eventgroup != search->second.end()) { |
| 2897 | return found_eventgroup->second->get_events(); |
| 2898 | } |
| 2899 | } |
| 2900 | |
| 2901 | return std::set<std::shared_ptr<event>>(); |
| 2902 | } |
| 2903 | |
| 2904 | void routing_manager_client::unsubscribe_base(client_t _client, service_t _service, instance_t _instance, eventgroup_t _eventgroup, |
| 2905 | event_t _event, std::scoped_lock<std::mutex> const& _lock) { |
no test coverage detected