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

Method clearTransformsForPlugin

pj_runtime/src/DataProcessorService.cpp:648–658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

646}
647
648void DataProcessorService::clearTransformsForPlugin(std::string_view plugin_id) {
649 std::vector<std::string> keys;
650 for (const auto& [key, recipe] : transform_recipes_) {
651 if (recipe.owner_plugin == plugin_id) {
652 keys.push_back(key);
653 }
654 }
655 for (const auto& key : keys) {
656 (void)removeTransform(key);
657 }
658}
659
660void DataProcessorService::clearAllTransforms() {
661 std::vector<std::string> keys;

Callers 2

TESTFunction · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.64
TESTFunction · 0.64