jmri.jmrit.ussctc
Class Follower
java.lang.Object
jmri.jmrit.ussctc.Follower
- All Implemented Interfaces:
- Constants
public class Follower
- extends Object
- implements Constants
Provide bean-like access to the collection of Logix, Routes, Memories,
etc that make up a Follower.
- Author:
- Bob Jacobsen Copyright (C) 2007
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Follower
public Follower(String output,
String sensor,
boolean invert,
String veto)
- Create one from scratch
- Parameters:
output - Output turnout to be drivensensor - Sensor checking for OS occupancyveto - veto Sensor, or ""
Follower
public Follower(String outputName)
throws JmriException
- Create an object to represent an existing Follower.
- Parameters:
outputName - name of output Turnout that drives the indicator
- Throws:
JmriException - if no such Follower exists, or some problem found
instantiate
public void instantiate()
- Create the underlying objects that implement this
getOutputName
public String getOutputName()
getSensorName
public String getSensorName()
getInvert
public boolean getInvert()
getVetoName
public String getVetoName()
Copyright © 1997 - 2011 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: