Class Follower

    • Constructor Summary

      Constructors 
      Constructor Description
      Follower​(java.lang.String outputName)
      Create an object to represent an existing Follower.
      Follower​(java.lang.String output, java.lang.String sensor, boolean invert, java.lang.String veto)
      Create one from scratch
    • Constructor Detail

      • Follower

        public Follower​(java.lang.String output,
                        java.lang.String sensor,
                        boolean invert,
                        java.lang.String veto)
        Create one from scratch
        Parameters:
        output - Output turnout to be driven
        sensor - Sensor checking for OS occupancy
        invert - route ISONACTIVE inverted.
        veto - veto Sensor, or ""
      • Follower

        public Follower​(java.lang.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