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

Method restoreTransform

pj_runtime/src/DataProcessorService.cpp:788–794  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

786}
787
788Expected<DataProcessorService::TransformRecipe> DataProcessorService::restoreTransform(const TransformRecipe& recipe) {
789 TransformRecipe restored = recipe; // copy; installTransform re-derives the runtime fields
790 if (restored.key.empty()) {
791 restored.key = makeTransformKey(restored.owner_plugin, restored.user_id);
792 }
793 return installTransform(std::move(restored));
794}
795
796} // namespace PJ

Callers 2

TESTFunction · 0.80
restoreDataProcessorsMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by 1

TESTFunction · 0.64