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

Method reset

implementation/routing/src/remote_subscription.cpp:47–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void remote_subscription::reset(const std::set<client_t>& _clients) {
48 auto its_client_state = std::make_pair(remote_subscription_state_e::SUBSCRIPTION_PENDING, std::chrono::steady_clock::time_point());
49 if (_clients.empty()) {
50 clients_[0] = its_client_state;
51 } else {
52 for (const auto& its_client : _clients)
53 clients_[its_client] = its_client_state;
54 }
55}
56
57bool remote_subscription::is_initial() const {
58 return is_initial_;

Callers 7

send_notificationMethod · 0.45
send_toMethod · 0.45
get_offered_serviceMethod · 0.45
send_errorMethod · 0.45
on_messageMethod · 0.45
sendMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected