jmri
Class NoFeedbackTurnoutOperation
java.lang.Object
jmri.TurnoutOperation
jmri.CommonTurnoutOperation
jmri.NoFeedbackTurnoutOperation
- All Implemented Interfaces:
- Comparable<Object>
public class NoFeedbackTurnoutOperation
- extends CommonTurnoutOperation
NoFeedBackTurnoutOperation class - specialization of TurnoutOperation to provide
automatic retry for a turnout with no feedback
| Methods inherited from class jmri.TurnoutOperation |
addPropertyChangeListener, compareTo, dispose, getDefinitive, getName, isDefinitive, isDeleted, isInUse, isNonce, makeNonce, matchFeedbackMode, removePropertyChangeListener, rename, setFeedbackModes, setNonce |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
feedbackModes
final int feedbackModes
- See Also:
- Constant Field Values
defaultInterval
public static final int defaultInterval
- See Also:
- Constant Field Values
defaultMaxTries
public static final int defaultMaxTries
- See Also:
- Constant Field Values
log
static org.slf4j.Logger log
NoFeedbackTurnoutOperation
public NoFeedbackTurnoutOperation(String n,
int i,
int mt)
NoFeedbackTurnoutOperation
public NoFeedbackTurnoutOperation()
- constructor with default values - this creates the "defining instance" of
the operation type hence it cannot be deleted
makeCopy
public TurnoutOperation makeCopy(String n)
- return clone with different name
- Specified by:
makeCopy in class TurnoutOperation
- Parameters:
n - name for new copy
- Returns:
- TurnoutOperation of same concrete class as this
getDefaultInterval
public int getDefaultInterval()
- Specified by:
getDefaultInterval in class CommonTurnoutOperation
getDefaultMaxTries
public int getDefaultMaxTries()
- Specified by:
getDefaultMaxTries in class CommonTurnoutOperation
getDefaultIntervalStatic
public static int getDefaultIntervalStatic()
getDefaultMaxTriesStatic
public static int getDefaultMaxTriesStatic()
getOperator
public TurnoutOperator getOperator(AbstractTurnout t)
- get a TurnoutOperator instance for this operation
- Specified by:
getOperator in class CommonTurnoutOperation
- Parameters:
t - the turnout to apply the operation to
- Returns:
- the operator
Copyright © 1997-2013 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: