Package jmri
Class TurnoutOperator
- java.lang.Object
-
- java.lang.Thread
-
- jmri.TurnoutOperator
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
NoFeedbackTurnoutOperator
,RawTurnoutOperator
,SensorTurnoutOperator
public abstract class TurnoutOperator extends java.lang.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.
-
Field Summary
Fields Modifier and Type Field Description protected AbstractTurnout
myTurnout
-
Constructor Summary
Constructors Modifier Constructor Description protected
TurnoutOperator(AbstractTurnout t)
-
Method Summary
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Field Detail
-
myTurnout
protected AbstractTurnout myTurnout
-
-
Constructor Detail
-
TurnoutOperator
protected TurnoutOperator(AbstractTurnout t)
-
-
Method Detail
-
operatorCheck
protected void operatorCheck() throws TurnoutOperator.TurnoutOperatorException
-
-