Package jmri
Class TurnoutOperator
java.lang.Object
java.lang.Thread
jmri.TurnoutOperator
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
NoFeedbackTurnoutOperator
,RawTurnoutOperator
,SensorTurnoutOperator
public abstract class TurnoutOperator extends Thread
Some (not much) common machinery for the concrete turnout operator classes.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TurnoutOperator.TurnoutOperatorException
Exception thrown when the turnout's operator has changed while the operator is running.Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields Modifier and Type Field Description protected AbstractTurnout
myTurnout
-
Constructor Summary
Constructors Modifier Constructor Description protected
TurnoutOperator(AbstractTurnout t)
-
Method Summary
Modifier and Type Method Description protected void
operatorCheck()
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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield