Class StateMablVariableFmi2Api
- java.lang.Object
-
- org.intocps.maestro.framework.fmi2.api.mabl.variables.VariableFmi2Api<java.lang.Object>
-
- org.intocps.maestro.framework.fmi2.api.mabl.variables.StateMablVariableFmi2Api
-
- All Implemented Interfaces:
Fmi2Builder.ProvidesTypedReferenceExp,Fmi2Builder.StateVariable<org.intocps.maestro.ast.node.PStm>,Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,java.lang.Object>,IndexedVariableFmi2Api<java.lang.Object>
public class StateMablVariableFmi2Api extends VariableFmi2Api<java.lang.Object> implements Fmi2Builder.StateVariable<org.intocps.maestro.ast.node.PStm>
-
-
Field Summary
-
Fields inherited from class org.intocps.maestro.framework.fmi2.api.mabl.variables.VariableFmi2Api
dynamicScope, type
-
-
Constructor Summary
Constructors Constructor Description StateMablVariableFmi2Api(org.intocps.maestro.ast.node.PStm declaration, org.intocps.maestro.ast.node.PType type, IMablScope declaredScope, Fmi2Builder.DynamicActiveScope<org.intocps.maestro.ast.node.PStm> dynamicScope, org.intocps.maestro.ast.node.PStateDesignator designator, org.intocps.maestro.ast.node.PExp referenceExp, MablApiBuilder builder, ComponentVariableFmi2Api owner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()Destroys the state in the active scope.voiddestroy(Fmi2Builder.Scope<org.intocps.maestro.ast.node.PStm> scope)Destroys the state in the active scope.voidset()Sets this state on the owning component in the active scopevoidset(Fmi2Builder.Scope<org.intocps.maestro.ast.node.PStm> scope)Sets this state on the owning component in the given scopevoidsetValue(Fmi2Builder.Scope<org.intocps.maestro.ast.node.PStm> scope, java.lang.Object value)-
Methods inherited from class org.intocps.maestro.framework.fmi2.api.mabl.variables.VariableFmi2Api
clone, getDeclaredScope, getDeclaringStm, getDesignator, getDesignatorClone, getExp, getName, getReferenceExp, getType, setValue, setValue, setValue, setValue, setValue, setValue, toMath
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable
getDeclaredScope, getName, setValue, setValue, setValue
-
-
-
-
Constructor Detail
-
StateMablVariableFmi2Api
public StateMablVariableFmi2Api(org.intocps.maestro.ast.node.PStm declaration, org.intocps.maestro.ast.node.PType type, IMablScope declaredScope, Fmi2Builder.DynamicActiveScope<org.intocps.maestro.ast.node.PStm> dynamicScope, org.intocps.maestro.ast.node.PStateDesignator designator, org.intocps.maestro.ast.node.PExp referenceExp, MablApiBuilder builder, ComponentVariableFmi2Api owner)
-
-
Method Detail
-
set
public void set() throws java.lang.IllegalStateExceptionDescription copied from interface:Fmi2Builder.StateVariableSets this state on the owning component in the active scope- Specified by:
setin interfaceFmi2Builder.StateVariable<org.intocps.maestro.ast.node.PStm>- Throws:
java.lang.IllegalStateException
-
set
public void set(Fmi2Builder.Scope<org.intocps.maestro.ast.node.PStm> scope) throws java.lang.IllegalStateException
Description copied from interface:Fmi2Builder.StateVariableSets this state on the owning component in the given scope- Specified by:
setin interfaceFmi2Builder.StateVariable<org.intocps.maestro.ast.node.PStm>- Throws:
java.lang.IllegalStateException
-
destroy
public void destroy() throws java.lang.IllegalStateExceptionDescription copied from interface:Fmi2Builder.StateVariableDestroys the state in the active scope. After this no other operation on the state is allowed- Specified by:
destroyin interfaceFmi2Builder.StateVariable<org.intocps.maestro.ast.node.PStm>- Throws:
java.lang.IllegalStateException
-
destroy
public void destroy(Fmi2Builder.Scope<org.intocps.maestro.ast.node.PStm> scope) throws java.lang.IllegalStateException
Description copied from interface:Fmi2Builder.StateVariableDestroys the state in the active scope. After this no other operation on the state is allowed- Specified by:
destroyin interfaceFmi2Builder.StateVariable<org.intocps.maestro.ast.node.PStm>- Throws:
java.lang.IllegalStateException
-
setValue
public void setValue(Fmi2Builder.Scope<org.intocps.maestro.ast.node.PStm> scope, java.lang.Object value)
- Specified by:
setValuein interfaceFmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,java.lang.Object>- Overrides:
setValuein classVariableFmi2Api<java.lang.Object>
-
-