Package jmri.jmrit.ussctc
Class Follower
java.lang.Object
jmri.jmrit.ussctc.Follower
- All Implemented Interfaces:
Constants
Provide bean-like access to the collection of Logix, Routes, Memories, etc
that make up a Follower.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean(package private) static final String(package private) String(package private) static String(package private) String(package private) StringFields inherited from interface jmri.jmrit.ussctc.Constants
commonNamePrefix, commonNameSuffix, nameDivider, pkgPrefix -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidCreate the underlying objects that implement this
-
Field Details
-
routePrefix
-
namePrefix
-
output
-
sensor
-
veto
-
invert
boolean invert
-
-
Constructor Details
-
Follower
Create one from scratch- Parameters:
output- Output turnout to be drivensensor- Sensor checking for OS occupancyinvert- route ISONACTIVE inverted.veto- veto Sensor, or ""
-
Follower
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
-
-
Method Details
-
instantiate
Create the underlying objects that implement this -
getOutputName
-
getSensorName
-
getInvert
-
getVetoName
-