Class Sleeper
java.lang.Object
org.wildstang.framework.auto.AutoProgram
org.wildstang.framework.auto.program.Sleeper
A default AutoProgram that does nothing an never completes.
This is used in AutoManager as a final program (program 0) which
does nothing but keeps a program running when all programs complete.
-
Field Summary
Fields inherited from class org.wildstang.framework.auto.AutoProgram
currentStep, finished, finishedPreviousStep, programStarted, programSteps -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDefines an AutoProgram's steps, executed in order added.toString()Returns the AutoProgram's name.Methods inherited from class org.wildstang.framework.auto.AutoProgram
addStep, areStepsDefined, cleanup, getCurrentStep, getNextStep, initialize, isFinished, loadStopPosition, update
-
Constructor Details
-
Sleeper
public Sleeper()
-
-
Method Details
-
defineSteps
public void defineSteps()Defines an AutoProgram's steps, executed in order added. Sleeper uses only a single step: AutoStepStopAutonomous, which does nothing and never finishes.- Specified by:
defineStepsin classAutoProgram
-
toString
Returns the AutoProgram's name.- Specified by:
toStringin classAutoProgram- Returns:
- The name of the AutoProgram.
-