Package org.intocps.maestro.plugin
Class Sigver
- java.lang.Object
-
- org.intocps.maestro.plugin.BasicMaestroExpansionPlugin
-
- org.intocps.maestro.plugin.Sigver
-
- All Implemented Interfaces:
IMaestroExpansionPlugin,IMaestroPlugin
public class Sigver 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 Modifier and Type Field Description static StringEXECUTE_ALGORITHM_FUNCTION_NAMEstatic StringMASTER_MODEL_FMU_INSTANCE_DELIMITERstatic StringMULTI_MODEL_FMU_INSTANCE_DELIMITER-
Fields inherited from interface org.intocps.maestro.plugin.IMaestroPlugin
FMI_STATUS_VARIABLE_NAME, GLOBAL_EXECUTION_CONTINUE
-
-
Constructor Summary
Constructors Constructor Description Sigver()
-
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,?> providedBuilder, List<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,?>> formalArguments, IPluginConfiguration config, org.intocps.maestro.framework.core.ISimulationEnvironment envIn, org.intocps.maestro.core.messages.IErrorReporter errorReporter)org.intocps.maestro.ast.node.AImportedModuleCompilationUnitgetDeclaredImportUnit()Set<org.intocps.maestro.ast.AFunctionDeclaration>getDeclaredUnfoldFunctions()StringgetName()StringgetVersion()IPluginConfigurationparseConfig(InputStream is)booleanrequireConfig()-
Methods inherited from class org.intocps.maestro.plugin.BasicMaestroExpansionPlugin
expand, expandWithRuntimeAddition, getConfigRequirement, getFunctionDeclarationBuilder, getFunctionDeclarationBuilder
-
-
-
-
Field Detail
-
MASTER_MODEL_FMU_INSTANCE_DELIMITER
public static final String MASTER_MODEL_FMU_INSTANCE_DELIMITER
- See Also:
- Constant Field Values
-
MULTI_MODEL_FMU_INSTANCE_DELIMITER
public static final String MULTI_MODEL_FMU_INSTANCE_DELIMITER
- See Also:
- Constant Field Values
-
EXECUTE_ALGORITHM_FUNCTION_NAME
public static final String EXECUTE_ALGORITHM_FUNCTION_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDeclaredUnfoldFunctions
public Set<org.intocps.maestro.ast.AFunctionDeclaration> getDeclaredUnfoldFunctions()
-
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,?> providedBuilder, List<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,?>> formalArguments, IPluginConfiguration config, org.intocps.maestro.framework.core.ISimulationEnvironment envIn, org.intocps.maestro.core.messages.IErrorReporter errorReporter) throws ExpandException
- Specified by:
expandWithRuntimeAdditionin interfaceIMaestroExpansionPlugin- Overrides:
expandWithRuntimeAdditionin classBasicMaestroExpansionPlugin- Throws:
ExpandException
-
requireConfig
public boolean requireConfig()
- Specified by:
requireConfigin interfaceIMaestroExpansionPlugin- Overrides:
requireConfigin classBasicMaestroExpansionPlugin
-
parseConfig
public IPluginConfiguration parseConfig(InputStream is) throws IOException
- Specified by:
parseConfigin interfaceIMaestroExpansionPlugin- Overrides:
parseConfigin classBasicMaestroExpansionPlugin- Throws:
IOException
-
getDeclaredImportUnit
public org.intocps.maestro.ast.node.AImportedModuleCompilationUnit getDeclaredImportUnit()
-
getName
public String getName()
-
getVersion
public String getVersion()
-
-