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

Method clearAllTransforms

pj_runtime/src/DataProcessorService.cpp:660–670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

658}
659
660void DataProcessorService::clearAllTransforms() {
661 std::vector<std::string> keys;
662 keys.reserve(transform_recipes_.size());
663 for (const auto& [key, recipe] : transform_recipes_) {
664 (void)recipe;
665 keys.push_back(key);
666 }
667 for (const auto& key : keys) {
668 (void)removeTransform(key);
669 }
670}
671
672void DataProcessorService::clearTransformsForDataset(DatasetId dataset_id) {
673 std::vector<std::string> keys;

Callers 2

TESTFunction · 0.80
restoreDataProcessorsMethod · 0.80

Calls 2

reserveMethod · 0.80
sizeMethod · 0.45

Tested by 1

TESTFunction · 0.64