Class FMIMAHybridCodeGenerator

  • All Implemented Interfaces:
    java.lang.Cloneable, Changeable, Debuggable, DebugListener, Decorator, Derivable, ModelErrorHandler, MoMLExportable, Moveable, Nameable

    public class FMIMAHybridCodeGenerator
    extends FMIMACodeGenerator
    Generate a Functional Mockup Interface Master Algorithm (FMIMA) description of a model. This is a subclass ProceduralCodeGenerator, which extends ProgramCodeGenerator, which extends GenericCodeGenerator.

    To generate C-code from a Ptolemy II model, using the Master Algorithm implemented by this code generator, use:

    $PTII/bin/ptcg -generatorPackage ptolemy.cg.kernel.generic.program.procedural.fmima \
    -dialect Hybrid model.xml
     
    Since:
    Ptolemy II 11.0
    Version:
    $Id$
    Author:
    Christopher Brooks, Marten Lohstroh, Fabio Cremona
    Pt.AcceptedRating:
    red (cxh)
    Pt.ProposedRating:
    red (cxh)
    • Constructor Detail

      • FMIMAHybridCodeGenerator

        public FMIMAHybridCodeGenerator​(NamedObj container,
                                        java.lang.String name)
                                 throws IllegalActionException,
                                        NameDuplicationException
        Create a new instance of the FMIMACodeGenerator. The value of the generatorPackageList parameter of the base class is set to generic.program.procedural.fmima
        Parameters:
        container - The container.
        name - The name of the FMIMACodeGenerator.
        Throws:
        IllegalActionException - If the super class throws the exception or error occurs when setting the file path.
        NameDuplicationException - If the super class throws the exception or an error occurs when setting the file path.