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

Method GetServiceReferences

Modules/CppMicroServices/src/usModuleContext.cpp:75–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75std::vector<ServiceReferenceU > ModuleContext::GetServiceReferences(const std::string& clazz,
76 const std::string& filter)
77{
78 std::vector<ServiceReferenceU> result;
79 std::vector<ServiceReferenceBase> refs;
80 d->module->coreCtx->services.Get(clazz, filter, d->module, refs);
81 for (std::vector<ServiceReferenceBase>::const_iterator iter = refs.begin();
82 iter != refs.end(); ++iter)
83 {
84 result.push_back(ServiceReferenceU(*iter));
85 }
86 return result;
87}
88
89ServiceReferenceU ModuleContext::GetServiceReference(const std::string& clazz)
90{

Callers 12

TestFindHookFunction · 0.80
frame020aFunction · 0.80
frame030bFunction · 0.80
serviceChangedMethod · 0.80
TestFilterStringFunction · 0.80
TestServiceTrackerFunction · 0.80
ProcessEventMethod · 0.80
GetAnnotationRendererMethod · 0.80
startMethod · 0.80

Calls 3

GetMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by 6

TestFindHookFunction · 0.64
frame020aFunction · 0.64
frame030bFunction · 0.64
serviceChangedMethod · 0.64
TestFilterStringFunction · 0.64
TestServiceTrackerFunction · 0.64