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

Method GetRegisteredServices

Modules/CppMicroServices/src/usModule.cpp:240–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240std::vector<ServiceReferenceU> Module::GetRegisteredServices() const
241{
242 std::vector<ServiceRegistrationBase> sr;
243 std::vector<ServiceReferenceU> res;
244 d->coreCtx->services.GetRegisteredByModule(d, sr);
245 for (std::vector<ServiceRegistrationBase>::const_iterator i = sr.begin();
246 i != sr.end(); ++i)
247 {
248 res.push_back(i->GetReference());
249 }
250 return res;
251}
252
253std::vector<ServiceReferenceU> Module::GetServicesInUse() const
254{

Callers 2

usServiceTemplateTestFunction · 0.80

Calls 4

GetRegisteredByModuleMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
GetReferenceMethod · 0.45

Tested by 2

usServiceTemplateTestFunction · 0.64