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

Method set_clients

implementation/service_discovery/src/selective_option_impl.cpp:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void selective_option_impl::set_clients(const std::set<client_t>& _clients) {
37 clients_ = _clients;
38 length_ = uint16_t(1 + clients_.size() * sizeof(client_t));
39}
40
41bool selective_option_impl::add_client(client_t _client) {
42 auto its_result = clients_.insert(_client);

Callers 2

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected