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

Function findAppManifestById

Tactility/Source/app/AppRegistration.cpp:42–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42std::shared_ptr<AppManifest> findAppManifestById(const std::string& id) {
43 hash_mutex.lock();
44 auto result = app_manifest_map.find(id);
45 hash_mutex.unlock();
46 if (result != app_manifest_map.end()) {
47 return result->second;
48 } else {
49 return nullptr;
50 }
51}
52
53std::vector<std::shared_ptr<AppManifest>> getAppManifests() {
54 std::vector<std::shared_ptr<AppManifest>> manifests;

Callers 9

handleAppUninstallMethod · 0.85
onStartAppMessageMethod · 0.85
handleApiAppsRunMethod · 0.85
onCreateMethod · 0.85
updateViewsMethod · 0.85
onCreateMethod · 0.85
getLauncherAppIdMethod · 0.85
showAppsMethod · 0.85

Calls 2

lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected