Package jmri.jmrit.logix
Class Engineer.ThrottleRamp
java.lang.Object
java.lang.Thread
jmri.jmrit.logix.Engineer.ThrottleRamp
- All Implemented Interfaces:
Runnable
- Enclosing class:
- Engineer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoRamp()(package private) boolean(package private) intgetCommandIndexLimit(int blockIdx, int cmdIdx) (package private) int(package private) voidquit(boolean die) voidrun()(package private) voidsetParameters(String endSpeedType, int endBlockIdx) Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Field Details
-
rampData
-
-
Constructor Details
-
ThrottleRamp
-
-
Method Details
-
quit
-
setParameters
-
duplicate
-
getEndBlockIndex
int getEndBlockIndex() -
getCommandIndexLimit
- Parameters:
blockIdx- index of block order where ramp finishescmdIdx- current command index- Returns:
- command index of block where commands should not be executed
-
run
-
doRamp
-