Class Round

    • Constructor Detail

      • Round

        public Round​(Round actor)
        Constructor the Round helper.
        Parameters:
        actor - the associated actor.
    • Method Detail

      • _generateFireCode

        protected java.lang.String _generateFireCode()
                                              throws IllegalActionException
        Generate fire code. The method reads in ceilBlock, floorBlock, roundBlock, or truncateBlock from Round.c depending on the function parameter specified, and replace macros with their values and return the processed code block.
        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).