Interface Fmi2Builder<S,B,E>
-
- All Known Implementing Classes:
MablApiBuilder
public interface Fmi2Builder<S,B,E>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceFmi2Builder.BoolVariable<T>static interfaceFmi2Builder.DoubleVariable<T>static interfaceFmi2Builder.DynamicActiveScope<T>Dynamic scope which always reflects the current active scope of the builderstatic interfaceFmi2Builder.ExpressionValuestatic interfaceFmi2Builder.Fmi2ComponentVariable<T>Interface for an fmi compoennt.static interfaceFmi2Builder.Fmu2Variable<S>Handle for an fmu for the creation of componentstatic interfaceFmi2Builder.IfScope<T>If scope, default scope is thenstatic interfaceFmi2Builder.IntVariable<T>static interfaceFmi2Builder.NamedValuestatic interfaceFmi2Builder.NamedVariable<T>static interfaceFmi2Builder.Numeric<A extends java.lang.Number>static interfaceFmi2Builder.NumericExpressionValuestatic interfaceFmi2Builder.NumericTypedReferenceExpstatic interfaceFmi2Builder.NumericValuestatic interfaceFmi2Builder.Portstatic interfaceFmi2Builder.Predicatestatic interfaceFmi2Builder.ProvidesTypedReferenceExpstatic interfaceFmi2Builder.RuntimeFunctionstatic interfaceFmi2Builder.RuntimeModule<S>static interfaceFmi2Builder.Scope<T>Basic scope.static interfaceFmi2Builder.Scoping<T>Scoping functionsstatic interfaceFmi2Builder.StateVariable<T>static interfaceFmi2Builder.StringVariable<T>static interfaceFmi2Builder.Typestatic interfaceFmi2Builder.Value<V>static interfaceFmi2Builder.Variable<T,V>static interfaceFmi2Builder.WhileScope<T>While
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Bbuild()org.intocps.maestro.ast.node.PStmbuildRaw()BooleanVariableFmi2ApigetBooleanVariableFrom(E exp)<V,T>
Fmi2Builder.Variable<T,V>getCurrentLinkedValue(Fmi2Builder.Port port)Gets a tag to the last value obtained for the given portDoubleVariableFmi2ApigetDoubleVariableFrom(E exp)Fmi2Builder.DynamicActiveScope<S>getDynamicScope()FmuVariableFmi2ApigetFmuVariableFrom(E exp)IntVariableFmi2ApigetIntVariableFrom(E exp)Fmi2Builder.Scope<S>getRootScope()Gets the default scopeStringVariableFmi2ApigetStringVariableFrom(E exp)Fmi2Builder.RuntimeModule<S>loadRuntimeModule(java.lang.String name, java.lang.Object... args)Fmi2Builder.RuntimeModule<S>loadRuntimeModule(Fmi2Builder.Scope<S> scope, java.lang.String name, java.lang.Object... args)
-
-
-
Method Detail
-
build
B build() throws java.lang.Exception
- Throws:
java.lang.Exception
-
buildRaw
org.intocps.maestro.ast.node.PStm buildRaw() throws java.lang.Exception- Throws:
java.lang.Exception
-
loadRuntimeModule
Fmi2Builder.RuntimeModule<S> loadRuntimeModule(java.lang.String name, java.lang.Object... args)
-
loadRuntimeModule
Fmi2Builder.RuntimeModule<S> loadRuntimeModule(Fmi2Builder.Scope<S> scope, java.lang.String name, java.lang.Object... args)
-
getRootScope
Fmi2Builder.Scope<S> getRootScope()
Gets the default scope- Returns:
-
getDynamicScope
Fmi2Builder.DynamicActiveScope<S> getDynamicScope()
-
getCurrentLinkedValue
<V,T> Fmi2Builder.Variable<T,V> getCurrentLinkedValue(Fmi2Builder.Port port)
Gets a tag to the last value obtained for the given port- Parameters:
port-- Returns:
-
getDoubleVariableFrom
DoubleVariableFmi2Api getDoubleVariableFrom(E exp)
-
getIntVariableFrom
IntVariableFmi2Api getIntVariableFrom(E exp)
-
getStringVariableFrom
StringVariableFmi2Api getStringVariableFrom(E exp)
-
getBooleanVariableFrom
BooleanVariableFmi2Api getBooleanVariableFrom(E exp)
-
getFmuVariableFrom
FmuVariableFmi2Api getFmuVariableFrom(E exp)
-
-