Class VirtualSignalMast

  • All Implemented Interfaces:
    java.beans.VetoableChangeListener, java.lang.Comparable<NamedBean>, java.util.EventListener, PropertyChangeProvider, NamedBean, Signal, SignalMast

    public class VirtualSignalMast
    extends AbstractSignalMast
    SignalMast implemented via one SignalHead object.

    System name specifies the creation information:

     IF$vsm:basic:one-searchlight($0001)
     
    The name is a colon-separated series of terms:
    • IF$vsm - defines signal masts of this type
    • basic - name of the signaling system
    • one-searchlight - name of the particular aspect map
    • ($0001) - small ordinal number for telling various virtual signal masts apart
    • Constructor Detail

      • VirtualSignalMast

        public VirtualSignalMast​(java.lang.String systemName,
                                 java.lang.String userName)
    • Method Detail

      • setLastRef

        protected static void setLastRef​(int newVal)
        Parameters:
        newVal - for ordinal of all VirtualSignalMasts in use
      • getLastRef

        public static int getLastRef()
        Returns:
        highest ordinal of all VirtualSignalMasts in use