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

Method is_pending

implementation/routing/src/remote_subscription.cpp:187–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187bool remote_subscription::is_pending() const {
188 std::scoped_lock its_lock(mutex_);
189 for (auto its_client : clients_) {
190 if (its_client.second.first == remote_subscription_state_e::SUBSCRIPTION_PENDING) {
191 return true;
192 }
193 }
194 return false;
195}
196
197bool remote_subscription::is_acknowledged() const {
198 std::scoped_lock its_lock(mutex_);

Callers 4

on_remote_subscribeMethod · 0.45
on_subscribe_ackMethod · 0.45
on_subscribe_nackMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected