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

Method reset

pj_scripting/src/lua_siso_transform.cpp:122–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void LuaSisoTransform::reset() {
123 // Construct-new-and-swap: a fresh VM/instance is the only guaranteed-clean
124 // reset for arbitrary script state (the engine's pre-batch-recompute hook).
125 rebuildInstance();
126}
127
128std::optional<proc::Sample> LuaSisoTransform::calculateNextPoint(const proc::Sample& in) {
129 if (!instance_) {

Callers 4

rebuildInstanceMethod · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 3

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36