Package org.intocps.maestro.plugin
Class DemoBuilderPlugin
- java.lang.Object
-
- org.intocps.maestro.plugin.BasicMaestroExpansionPlugin
-
- org.intocps.maestro.plugin.DemoBuilderPlugin
-
- All Implemented Interfaces:
IMaestroExpansionPlugin,IMaestroPlugin
public class DemoBuilderPlugin extends BasicMaestroExpansionPlugin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.intocps.maestro.plugin.BasicMaestroExpansionPlugin
BasicMaestroExpansionPlugin.FunctionDeclarationBuilder
-
Nested classes/interfaces inherited from interface org.intocps.maestro.plugin.IMaestroExpansionPlugin
IMaestroExpansionPlugin.ConfigOption, IMaestroExpansionPlugin.EmptyRuntimeConfig<R extends Object>, IMaestroExpansionPlugin.RuntimeConfigAddition<T extends Object>
-
-
Field Summary
-
Fields inherited from interface org.intocps.maestro.plugin.IMaestroPlugin
FMI_STATUS_VARIABLE_NAME, GLOBAL_EXECUTION_CONTINUE
-
-
Constructor Summary
Constructors Constructor Description DemoBuilderPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> 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, List<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,?>> formalArguments, IPluginConfiguration config, org.intocps.maestro.framework.core.ISimulationEnvironment env, org.intocps.maestro.core.messages.IErrorReporter errorReporter)IMaestroExpansionPlugin.ConfigOptiongetConfigRequirement()org.intocps.maestro.ast.node.AImportedModuleCompilationUnitgetDeclaredImportUnit()Set<org.intocps.maestro.ast.AFunctionDeclaration>getDeclaredUnfoldFunctions()StringgetName()StringgetVersion()-
Methods inherited from class org.intocps.maestro.plugin.BasicMaestroExpansionPlugin
expand, expandWithRuntimeAddition, getFunctionDeclarationBuilder, getFunctionDeclarationBuilder, parseConfig, requireConfig
-
-
-
-
Method Detail
-
getName
public String getName()
-
getVersion
public String getVersion()
-
getDeclaredUnfoldFunctions
public Set<org.intocps.maestro.ast.AFunctionDeclaration> getDeclaredUnfoldFunctions()
-
getConfigRequirement
public IMaestroExpansionPlugin.ConfigOption getConfigRequirement()
- Specified by:
getConfigRequirementin interfaceIMaestroExpansionPlugin- Overrides:
getConfigRequirementin classBasicMaestroExpansionPlugin
-
expandWithRuntimeAddition
public <R> 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, List<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,?>> formalArguments, IPluginConfiguration config, org.intocps.maestro.framework.core.ISimulationEnvironment env, org.intocps.maestro.core.messages.IErrorReporter errorReporter) throws ExpandException
- Specified by:
expandWithRuntimeAdditionin interfaceIMaestroExpansionPlugin- Overrides:
expandWithRuntimeAdditionin classBasicMaestroExpansionPlugin- Throws:
ExpandException
-
getDeclaredImportUnit
public org.intocps.maestro.ast.node.AImportedModuleCompilationUnit getDeclaredImportUnit()
-
-