Class Sleeper
- java.lang.Object
-
- org.wildstang.framework.auto.AutoProgram
-
- org.wildstang.framework.auto.program.Sleeper
-
public class Sleeper extends AutoProgram
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 Constructor Description Sleeper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
defineSteps()
Defines an AutoProgram's steps, executed in order added.java.lang.String
toString()
Returns the AutoProgram's name.-
Methods inherited from class org.wildstang.framework.auto.AutoProgram
addStep, areStepsDefined, cleanup, getCurrentStep, getNextStep, initialize, isFinished, loadStopPosition, update
-
-
-
-
Method Detail
-
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:
defineSteps
in classAutoProgram
-
toString
public java.lang.String toString()
Returns the AutoProgram's name.- Specified by:
toString
in classAutoProgram
- Returns:
- The name of the AutoProgram.
-
-