Package jmri.jmrit.ussctc
Class VetoedBell
- java.lang.Object
-
- jmri.jmrit.ussctc.VetoedBell
-
- All Implemented Interfaces:
Bell
public class VetoedBell extends java.lang.Object implements Bell
Derive a CTC machine bell via a Turnout output. Will only ring if a particular Sensor is active. Used to provide a bell cutout.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Bell
bell
(package private) NamedBeanHandle<Sensor>
hVeto
-
Constructor Summary
Constructors Constructor Description VetoedBell(java.lang.String veto, Bell bell)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
ring()
-
-
-
Field Detail
-
hVeto
NamedBeanHandle<Sensor> hVeto
-
-
Constructor Detail
-
VetoedBell
public VetoedBell(java.lang.String veto, Bell bell)
-
-