MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / isRunning

Method isRunning

Tactility/Source/service/loader/Loader.cpp:310–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310bool LoaderService::isRunning(const std::string& id) const {
311 const auto lock = mutex.asScopedLock();
312 lock.lock();
313 for (const auto& app : appStack) {
314 if (app->getManifest().appId == id) {
315 return true;
316 }
317 }
318 return false;
319}
320
321std::shared_ptr<LoaderService> findLoaderService() {
322 return service::findServiceById<LoaderService>(manifest.id);

Callers 7

isRunningFunction · 0.45
~ScreenshotAppMethod · 0.45
onShowMethod · 0.45
onHideMethod · 0.45
updateTimerStateMethod · 0.45
statusbar_constructorFunction · 0.45

Calls 2

asScopedLockMethod · 0.80
lockMethod · 0.45

Tested by

no test coverage detected