Interface Fmi2Builder<S,B,E,SETTINGS>
-
public interface Fmi2Builder<S,B,E,SETTINGS>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceFmi2Builder.ArrayVariable<T,CV>static interfaceFmi2Builder.BooleanExpressionValuestatic interfaceFmi2Builder.BoolVariable<T>static interfaceFmi2Builder.DoubleExpressionValuestatic 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.IFunctionBuilderstatic interfaceFmi2Builder.IntExpressionValuestatic interfaceFmi2Builder.IntVariable<T>static interfaceFmi2Builder.NamedValuestatic interfaceFmi2Builder.NamedVariable<T>static interfaceFmi2Builder.Numeric<A extends 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.ScopeElement<T>Scoping element which defines a scope like a block, if, while etc.static interfaceFmi2Builder.Scoping<T>Scoping functionsstatic interfaceFmi2Builder.StateVariable<T>static interfaceFmi2Builder.StringExpressionValuestatic interfaceFmi2Builder.StringVariable<T>static interfaceFmi2Builder.TryScope<T>Try finally scope, default scope is bodystatic interfaceFmi2Builder.Typestatic interfaceFmi2Builder.Value<V>static interfaceFmi2Builder.Variable<T,V>static interfaceFmi2Builder.WhileScope<T>While
-
Method Summary
-
-
-
Method Detail
-
getSettings
SETTINGS getSettings()
-
getFunctionBuilder
Fmi2Builder.IFunctionBuilder getFunctionBuilder()
-
isDirty
boolean isDirty()
Returns whether the build has been used- Returns:
- true if the builder contains user added statements
-
resetDirty
void resetDirty()
Reset the dirty flag
-
loadRuntimeModule
Fmi2Builder.RuntimeModule<S> loadRuntimeModule(String name, Object... args)
-
loadRuntimeModule
Fmi2Builder.RuntimeModule<S> loadRuntimeModule(Fmi2Builder.TryScope<S> scope, String name, 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
Fmi2Builder.DoubleVariable<S> getDoubleVariableFrom(E exp)
-
getIntVariableFrom
Fmi2Builder.IntVariable<S> getIntVariableFrom(E exp)
-
getStringVariableFrom
Fmi2Builder.StringVariable<S> getStringVariableFrom(E exp)
-
getBooleanVariableFrom
Fmi2Builder.BoolVariable<S> getBooleanVariableFrom(E exp)
-
getFmuVariableFrom
<V,T> Fmi2Builder.Variable<T,V> getFmuVariableFrom(E exp)
-
-