Class DemoBuilderPlugin

  • All Implemented Interfaces:
    org.intocps.maestro.plugin.IMaestroExpansionPlugin, org.intocps.maestro.plugin.IMaestroPlugin

    public class DemoBuilderPlugin
    extends org.intocps.maestro.plugin.BasicMaestroExpansionPlugin
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.intocps.maestro.plugin.BasicMaestroExpansionPlugin

        org.intocps.maestro.plugin.BasicMaestroExpansionPlugin.FunctionDeclarationBuilder
      • Nested classes/interfaces inherited from interface org.intocps.maestro.plugin.IMaestroExpansionPlugin

        org.intocps.maestro.plugin.IMaestroExpansionPlugin.ConfigOption, org.intocps.maestro.plugin.IMaestroExpansionPlugin.EmptyRuntimeConfig<R extends java.lang.Object>, org.intocps.maestro.plugin.IMaestroExpansionPlugin.RuntimeConfigAddition<T extends java.lang.Object>
    • Field Summary

      • Fields inherited from interface org.intocps.maestro.plugin.IMaestroPlugin

        FMI_STATUS_VARIABLE_NAME, GLOBAL_EXECUTION_CONTINUE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <R> org.intocps.maestro.plugin.IMaestroExpansionPlugin.RuntimeConfigAddition<R> expandWithRuntimeAddition​(org.intocps.maestro.ast.AFunctionDeclaration declaredFunction, org.intocps.maestro.framework.fmi2.api.Fmi2Builder<org.intocps.maestro.ast.node.PStm,​org.intocps.maestro.ast.node.ASimulationSpecificationCompilationUnit,​org.intocps.maestro.ast.node.PExp,​?> builder, java.util.List<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,​?>> formalArguments, org.intocps.maestro.plugin.IPluginConfiguration config, org.intocps.maestro.framework.core.ISimulationEnvironment env, org.intocps.maestro.core.messages.IErrorReporter errorReporter)  
      org.intocps.maestro.plugin.IMaestroExpansionPlugin.ConfigOption getConfigRequirement()  
      org.intocps.maestro.ast.node.AImportedModuleCompilationUnit getDeclaredImportUnit()  
      java.util.Set<org.intocps.maestro.ast.AFunctionDeclaration> getDeclaredUnfoldFunctions()  
      java.lang.String getName()  
      java.lang.String getVersion()  
      • Methods inherited from class org.intocps.maestro.plugin.BasicMaestroExpansionPlugin

        expand, expandWithRuntimeAddition, getFunctionDeclarationBuilder, getFunctionDeclarationBuilder, parseConfig, requireConfig
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DemoBuilderPlugin

        public DemoBuilderPlugin()
    • Method Detail

      • getName

        public java.lang.String getName()
      • getVersion

        public java.lang.String getVersion()
      • getDeclaredUnfoldFunctions

        public java.util.Set<org.intocps.maestro.ast.AFunctionDeclaration> getDeclaredUnfoldFunctions()
      • getConfigRequirement

        public org.intocps.maestro.plugin.IMaestroExpansionPlugin.ConfigOption getConfigRequirement()
        Specified by:
        getConfigRequirement in interface org.intocps.maestro.plugin.IMaestroExpansionPlugin
        Overrides:
        getConfigRequirement in class org.intocps.maestro.plugin.BasicMaestroExpansionPlugin
      • expandWithRuntimeAddition

        public <R> org.intocps.maestro.plugin.IMaestroExpansionPlugin.RuntimeConfigAddition<R> expandWithRuntimeAddition​(org.intocps.maestro.ast.AFunctionDeclaration declaredFunction,
                                                                                                                         org.intocps.maestro.framework.fmi2.api.Fmi2Builder<org.intocps.maestro.ast.node.PStm,​org.intocps.maestro.ast.node.ASimulationSpecificationCompilationUnit,​org.intocps.maestro.ast.node.PExp,​?> builder,
                                                                                                                         java.util.List<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,​?>> formalArguments,
                                                                                                                         org.intocps.maestro.plugin.IPluginConfiguration config,
                                                                                                                         org.intocps.maestro.framework.core.ISimulationEnvironment env,
                                                                                                                         org.intocps.maestro.core.messages.IErrorReporter errorReporter)
                                                                                                                  throws org.intocps.maestro.plugin.ExpandException
        Specified by:
        expandWithRuntimeAddition in interface org.intocps.maestro.plugin.IMaestroExpansionPlugin
        Overrides:
        expandWithRuntimeAddition in class org.intocps.maestro.plugin.BasicMaestroExpansionPlugin
        Throws:
        org.intocps.maestro.plugin.ExpandException
      • getDeclaredImportUnit

        public org.intocps.maestro.ast.node.AImportedModuleCompilationUnit getDeclaredImportUnit()