Class MultiplyDivide

    • Constructor Detail

      • MultiplyDivide

        public MultiplyDivide​(MultiplyDivide actor)
        Construct a TimeGap adapter.
        Parameters:
        actor - The given ptolemy.actor.lib.TimeGap actor.
    • Method Detail

      • _generateFireCode

        protected java.lang.String _generateFireCode()
                                              throws IllegalActionException
        Description copied from class: MultiplyDivide
        Generate fire code. The method generates code that loops through each input [multi-ports] and combines (add or subtract) them.
        Overrides:
        _generateFireCode in class MultiplyDivide
        Returns:
        The generated code.
        Throws:
        IllegalActionException - If the code stream encounters an error in processing the specified code block(s).