Interface AnalogExpressionManager

    • Method Detail

      • registerExpression

        MaleAnalogExpressionSocket registerExpression​(@Nonnull
                                                      AnalogExpressionBean expression)
                                               throws java.lang.IllegalArgumentException
        Remember a NamedBean Object created outside the manager. This method creates a MaleAnalogExpressionSocket for the action.
        Parameters:
        expression - the bean
        Returns:
        the male socket for this expression
        Throws:
        java.lang.IllegalArgumentException - if the expression has an invalid system name
      • getAutoSystemName

        java.lang.String getAutoSystemName()
        Create a new system name for an Expression.
        Returns:
        a new system name
      • createFemaleSocket

        FemaleAnalogExpressionSocket createFemaleSocket​(Base parent,
                                                        FemaleSocketListener listener,
                                                        java.lang.String socketName)
        Create a female socket for analog expressions
        Parameters:
        parent - the parent that will own the new female socket
        listener - the listener for the female socket
        socketName - the name of the new socket
        Returns:
        the new female socket
      • getExpressionClasses

        java.util.Map<Category,​java.util.List<java.lang.Class<? extends Base>>> getExpressionClasses()
        Get a set of classes that implements the DigitalAction interface.
        Returns:
        a set of entries with category and class
      • deleteAnalogExpression

        void deleteAnalogExpression​(MaleAnalogExpressionSocket x)
        Delete Expression by removing it from the manager. The Expression must first be deactivated so it stops processing.
        Parameters:
        x - the Expression to delete