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

Method get_instance

implementation/endpoints/src/endpoint_impl.cpp:67–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66template<typename Protocol>
67instance_t endpoint_impl<Protocol>::get_instance(service_t _service) {
68
69 instance_t its_instance(0xFFFF);
70
71 auto its_host = endpoint_host_.lock();
72 if (its_host)
73 its_instance = its_host->find_instance(_service, this);
74
75 return its_instance;
76}
77
78// Instantiate template
79#if defined(__linux__) || defined(__QNX__)

Callers 5

segment_messageMethod · 0.45
on_connectMethod · 0.45
on_disconnectMethod · 0.45
segment_messageMethod · 0.45

Calls 2

lockMethod · 0.80
find_instanceMethod · 0.80

Tested by

no test coverage detected