Class StateMablVariableFmi2Api

    • 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.IllegalStateException
        Description copied from interface: Fmi2Builder.StateVariable
        Sets this state on the owning component in the active scope
        Specified by:
        set in interface Fmi2Builder.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.StateVariable
        Sets this state on the owning component in the given scope
        Specified by:
        set in interface Fmi2Builder.StateVariable<org.intocps.maestro.ast.node.PStm>
        Throws:
        java.lang.IllegalStateException
      • destroy

        public void destroy()
                     throws java.lang.IllegalStateException
        Description copied from interface: Fmi2Builder.StateVariable
        Destroys the state in the active scope. After this no other operation on the state is allowed
        Specified by:
        destroy in interface Fmi2Builder.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.StateVariable
        Destroys the state in the active scope. After this no other operation on the state is allowed
        Specified by:
        destroy in interface Fmi2Builder.StateVariable<org.intocps.maestro.ast.node.PStm>
        Throws:
        java.lang.IllegalStateException