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

Method GetServicesInUse

Modules/CppMicroServices/src/usModule.cpp:253–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253std::vector<ServiceReferenceU> Module::GetServicesInUse() const
254{
255 std::vector<ServiceRegistrationBase> sr;
256 std::vector<ServiceReferenceU> res;
257 d->coreCtx->services.GetUsedByModule(const_cast<Module*>(this), sr);
258 for (std::vector<ServiceRegistrationBase>::const_iterator i = sr.begin();
259 i != sr.end(); ++i)
260 {
261 res.push_back(i->GetReference());
262 }
263 return res;
264}
265
266ModuleResource Module::GetResource(const std::string& path) const
267{

Callers 2

Calls 4

GetUsedByModuleMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
GetReferenceMethod · 0.45

Tested by 2