Class IntVariableFmi2Api

  • All Implemented Interfaces:
    org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntVariable<org.intocps.maestro.ast.node.PStm>, org.intocps.maestro.framework.fmi2.api.Fmi2Builder.NumericTypedReferenceExp, org.intocps.maestro.framework.fmi2.api.Fmi2Builder.ProvidesTypedReferenceExp, org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,​org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue>, IndexedVariableFmi2Api<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue>

    public class IntVariableFmi2Api
    extends VariableFmi2Api<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue>
    implements org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntVariable<org.intocps.maestro.ast.node.PStm>
    • Constructor Summary

      Constructors 
      Constructor Description
      IntVariableFmi2Api​(org.intocps.maestro.ast.node.PStm declaration, IMablScope declaredScope, org.intocps.maestro.framework.fmi2.api.Fmi2Builder.DynamicActiveScope<org.intocps.maestro.ast.node.PStm> dynamicScope, org.intocps.maestro.ast.node.PStateDesignator designator, org.intocps.maestro.ast.node.PExp referenceExp)  
    • Constructor Detail

      • IntVariableFmi2Api

        public IntVariableFmi2Api​(org.intocps.maestro.ast.node.PStm declaration,
                                  IMablScope declaredScope,
                                  org.intocps.maestro.framework.fmi2.api.Fmi2Builder.DynamicActiveScope<org.intocps.maestro.ast.node.PStm> dynamicScope,
                                  org.intocps.maestro.ast.node.PStateDesignator designator,
                                  org.intocps.maestro.ast.node.PExp referenceExp)
    • Method Detail

      • decrement

        public void decrement()
        Specified by:
        decrement in interface org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntVariable<org.intocps.maestro.ast.node.PStm>
      • decrement

        public void decrement​(org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Scope<org.intocps.maestro.ast.node.PStm> scope)
      • increment

        public void increment()
        Specified by:
        increment in interface org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntVariable<org.intocps.maestro.ast.node.PStm>
      • setValue

        public void setValue​(org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue addition)
        Specified by:
        setValue in interface org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,​org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue>
        Overrides:
        setValue in class VariableFmi2Api<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue>
      • increment

        public void increment​(org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Scope<org.intocps.maestro.ast.node.PStm> scope)
      • getType

        public org.intocps.maestro.ast.node.PType getType()
        Specified by:
        getType in interface org.intocps.maestro.framework.fmi2.api.Fmi2Builder.ProvidesTypedReferenceExp
        Overrides:
        getType in class VariableFmi2Api<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue>
      • getExp

        public org.intocps.maestro.ast.node.PExp getExp()
        Specified by:
        getExp in interface org.intocps.maestro.framework.fmi2.api.Fmi2Builder.ProvidesTypedReferenceExp
        Overrides:
        getExp in class VariableFmi2Api<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue>
      • clone

        public IntVariableFmi2Api clone​(org.intocps.maestro.ast.node.PStm declaration,
                                        IMablScope declaredScope,
                                        org.intocps.maestro.ast.node.PStateDesignator designator,
                                        org.intocps.maestro.ast.node.PExp referenceExp)
        Overrides:
        clone in class VariableFmi2Api<org.intocps.maestro.framework.fmi2.api.Fmi2Builder.IntExpressionValue>