BowlerKernel
|
Public Member Functions | |
abstract void | execute (GCodeLineData prev, GCodeLineData line) throws Exception |
void | setSubHandlers (List< CodeHandler > subHandlers) |
void | callSubMethods (GCodeLineData prev, GCodeLineData line) throws Exception |
Encapsulates a handler for a particular G or M code.
Definition at line 12 of file CodeHandler.java.
void com.neuronrobotics.replicator.driver.interpreter.CodeHandler.callSubMethods | ( | GCodeLineData | prev, |
GCodeLineData | line | ||
) | throws Exception |
Call sub methods.
prev | the prev |
line | the line |
Exception | the exception |
Definition at line 44 of file CodeHandler.java.
|
abstract |
Execute the action associated with this handler. this is permitted to modify the values stored in line; prev should be considered immutable.
prev | The register values for the previous line of G code. Contains such things as the last set position, for interpolation schemes. |
line | The current set of register values for this line of G code. |
Exception | the exception |
Reimplemented in com.neuronrobotics.replicator.driver.interpreter.EmptyCodeHandler.
Referenced by com.neuronrobotics.replicator.driver.interpreter.GCodeInterpreter.executeLine().
void com.neuronrobotics.replicator.driver.interpreter.CodeHandler.setSubHandlers | ( | List< CodeHandler > | subHandlers | ) |
Sets the sub handlers.
subHandlers | the new sub handlers |
Definition at line 33 of file CodeHandler.java.
Referenced by com.neuronrobotics.replicator.driver.interpreter.GCodeInterpreter.setGHandler(), and com.neuronrobotics.replicator.driver.interpreter.GCodeInterpreter.setMHandler().