Class FMIMACodeGeneratorAdapter

    • Field Detail

      • _eol

        protected static final java.lang.String _eol
        End of line character. Under Unix: "\n", under Windows: "\n\r". We use a end of line character so that the files we generate have the proper end of line character for use by other native tools.
      • _codeGenerator

        protected GenericCodeGenerator _codeGenerator
        The code generator that contains this adapter class.
    • Constructor Detail

      • FMIMACodeGeneratorAdapter

        public FMIMACodeGeneratorAdapter​(NamedObj component)
        Construct the code generator adapter associated with the given component.
        Parameters:
        component - The associated component.
    • Method Detail

      • generateFMIMA

        public abstract java.lang.String generateFMIMA()
                                                throws IllegalActionException
        Generate FMIMA code.
        Returns:
        The generated FMIMA.
        Throws:
        IllegalActionException - If there is a problem reading data from the model while generating FMIMA.