MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / transformIdsForPlugin

Method transformIdsForPlugin

pj_runtime/src/DataProcessorService.cpp:684–693  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682}
683
684std::vector<std::string> DataProcessorService::transformIdsForPlugin(std::string_view plugin_id) const {
685 std::vector<std::string> ids;
686 for (const auto& [key, recipe] : transform_recipes_) {
687 (void)key;
688 if (recipe.owner_plugin == plugin_id) {
689 ids.push_back(recipe.user_id);
690 }
691 }
692 return ids;
693}
694
695std::optional<std::string> DataProcessorService::transformRecipeJson(std::string_view namespaced_key) const {
696 const auto it = transform_recipes_.find(std::string(namespaced_key));

Callers 2

onListMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64