use of com.willwinder.universalgcodesender.gcode.processors.Stats in project Universal-G-Code-Sender by winder.
the class GcodeParser method reset.
/**
* Resets the current state.
*/
public void reset() {
this.statsProcessor = new Stats();
this.state.currentPoint = new Position();
this.state.commandNumber = -1;
}
use of com.willwinder.universalgcodesender.gcode.processors.Stats in project Universal-G-Code-Sender by winder.
the class GcodeParser method resetCommandProcessors.
/**
* Clear out any processors that have been added.
*/
@Override
public void resetCommandProcessors() {
this.processors.clear();
this.statsProcessor = new Stats();
}