MCPcopy Create free account
hub / github.com/MITK/MITK / GetService

Method GetService

Modules/CppMicroServices/src/usModuleContext.cpp:94–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void* ModuleContext::GetService(const ServiceReferenceBase& reference)
95{
96 if (!reference)
97 {
98 throw std::invalid_argument("Default constructed ServiceReference is not a valid input to GetService()");
99 }
100 return reference.d->GetService(d->module->q);
101}
102
103InterfaceMap ModuleContext::GetService(const ServiceReferenceU& reference)
104{

Callers 15

ActivateMethod · 0.45
AddingServiceMethod · 0.45
FilterModulesMethod · 0.45
StartServiceTrackingMethod · 0.45

Calls 1

Tested by

no test coverage detected