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

Method find_client

implementation/configuration/src/configuration_impl.cpp:3040–3050  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3038}
3039
3040std::shared_ptr<client> configuration_impl::find_client(service_instance_t _si) const {
3041 std::list<std::shared_ptr<client>>::const_iterator it;
3042
3043 for (it = clients_.begin(); it != clients_.end(); ++it) {
3044 // client was configured for specific service / instance
3045 if ((*it)->service_ == _si.service() && (*it)->instance_ == _si.instance()) {
3046 return *it;
3047 }
3048 }
3049 return nullptr;
3050}
3051
3052void configuration_impl::get_event_update_properties(service_t _service, instance_t _instance, event_t _event,
3053 std::chrono::milliseconds& _cycle, bool& _change_resets_cycle,

Callers

nothing calls this directly

Calls 4

beginMethod · 0.80
endMethod · 0.80
instanceMethod · 0.80
serviceMethod · 0.45

Tested by

no test coverage detected