Class StringCompare

    • Constructor Detail

      • StringCompare

        public StringCompare​(StringCompare actor)
        Construct the StringCompare helper.
        Parameters:
        actor - The associated actor.
    • Method Detail

      • _generateFireCode

        protected java.lang.String _generateFireCode()
                                              throws IllegalActionException
        Generate fire code. The method reads in sinBlock, cosBlock, tanBlock, asinBlock, acosBlock, or atanBlock from TrigFunction.c depending on the function parameter specified, replaces macros with their values and appends the processed code block to the given code buffer.
        Overrides:
        _generateFireCode in class NamedProgramCodeGeneratorAdapter
        Returns:
        The generated code.
        Throws:
        IllegalActionException - If the code stream encounters an error in processing the specified code block(s).