| 301 | } |
| 302 | |
| 303 | void ServiceRegistry::GetRegisteredByModule(ModulePrivate* p, |
| 304 | std::vector<ServiceRegistrationBase>& res) const |
| 305 | { |
| 306 | MutexLock lock(mutex); |
| 307 | |
| 308 | for (std::vector<ServiceRegistrationBase>::const_iterator i = serviceRegistrations.begin(); |
| 309 | i != serviceRegistrations.end(); ++i) |
| 310 | { |
| 311 | if (i->d->module == p) |
| 312 | { |
| 313 | res.push_back(*i); |
| 314 | } |
| 315 | } |
| 316 | } |
| 317 | |
| 318 | void ServiceRegistry::GetUsedByModule(Module* p, |
| 319 | std::vector<ServiceRegistrationBase>& res) const |
no test coverage detected