Class FMUImport

    • Constructor Detail

      • FMUImport

        public FMUImport​(FMUImport actor)
        Construct a FMUImport adapter.
        Parameters:
        actor - The associated actor.
    • Method Detail

      • _generateFireCode

        protected java.lang.String _generateFireCode()
                                              throws IllegalActionException
        Generate fire code. The method reads in printInt, printArray, printString, or printDouble from FMUImport.j, replaces macros with their values and returns the results.
        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).