| 213 | } |
| 214 | |
| 215 | std::set<std::shared_ptr<remote_subscription>> eventgroupinfo::get_remote_subscriptions() const { |
| 216 | std::set<std::shared_ptr<remote_subscription>> its_subscriptions; |
| 217 | |
| 218 | std::scoped_lock its_lock(subscriptions_mutex_); |
| 219 | for (const auto& i : subscriptions_) |
| 220 | its_subscriptions.insert(i.second); |
| 221 | |
| 222 | return its_subscriptions; |
| 223 | } |
| 224 | |
| 225 | bool eventgroupinfo::update_remote_subscription(const std::shared_ptr<remote_subscription>& _subscription, |
| 226 | const std::chrono::steady_clock::time_point& _expiration, std::set<client_t>& _changed, |
no test coverage detected