Interface AnalogExpression

    • Method Detail

      • evaluate

        double evaluate()
                 throws JmriException
        Evaluate this expression.
        Returns:
        the result of the evaluation. The male socket that holds this expression throws an exception if this value is a Double.NaN or an infinite number.
        Throws:
        JmriException - when an exception occurs
      • setTriggerOnChange

        void setTriggerOnChange​(boolean triggerOnChange)
        Set whenether this expression should trigger the ConditionalNG if the named beans it listens to changes state.
        Parameters:
        triggerOnChange - true if trigger on change, false otherwise
      • getTriggerOnChange

        boolean getTriggerOnChange()
        Get whenether this expression should trigger the ConditionalNG if the named beans it listens to changes state.
        Returns:
        true if trigger on change, false otherwise