Class DataExchangeHandler


  • public class DataExchangeHandler
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      DataExchangeHandler​(java.util.Set<org.intocps.maestro.framework.fmi2.Fmi2SimulationEnvironment.Relation> relations, org.intocps.maestro.framework.fmi2.Fmi2SimulationEnvironment env, java.util.function.Function<org.intocps.maestro.ast.LexIdentifier,​org.intocps.maestro.ast.PStateDesignator> getCompStatusDesignator, java.util.function.BiConsumer<java.util.Map.Entry<java.lang.Boolean,​java.lang.String>,​java.util.Map.Entry<org.intocps.maestro.ast.LexIdentifier,​java.util.List<org.intocps.maestro.ast.PStm>>> checkStatus)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<org.intocps.maestro.ast.PStm> allocate()  
      java.util.List<org.intocps.maestro.ast.PStm> exchangeData()  
      java.util.List<org.intocps.maestro.ast.PStm> getAll​(boolean inSimulationLoop)  
      java.util.Set<org.intocps.maestro.framework.fmi2.Fmi2SimulationEnvironment.Relation> getInputRelations()  
      java.util.Map<org.intocps.maestro.ast.LexIdentifier,​java.util.Map<org.intocps.orchestration.coe.modeldefinition.ModelDescription.Types,​java.util.List<org.intocps.orchestration.coe.modeldefinition.ModelDescription.ScalarVariable>>> getOutputs()  
      java.util.List<org.intocps.maestro.ast.PStm> setAll()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DataExchangeHandler

        public DataExchangeHandler​(java.util.Set<org.intocps.maestro.framework.fmi2.Fmi2SimulationEnvironment.Relation> relations,
                                   org.intocps.maestro.framework.fmi2.Fmi2SimulationEnvironment env,
                                   java.util.function.Function<org.intocps.maestro.ast.LexIdentifier,​org.intocps.maestro.ast.PStateDesignator> getCompStatusDesignator,
                                   java.util.function.BiConsumer<java.util.Map.Entry<java.lang.Boolean,​java.lang.String>,​java.util.Map.Entry<org.intocps.maestro.ast.LexIdentifier,​java.util.List<org.intocps.maestro.ast.PStm>>> checkStatus)
    • Method Detail

      • getOutputs

        public java.util.Map<org.intocps.maestro.ast.LexIdentifier,​java.util.Map<org.intocps.orchestration.coe.modeldefinition.ModelDescription.Types,​java.util.List<org.intocps.orchestration.coe.modeldefinition.ModelDescription.ScalarVariable>>> getOutputs()
      • getInputRelations

        public java.util.Set<org.intocps.maestro.framework.fmi2.Fmi2SimulationEnvironment.Relation> getInputRelations()
      • allocate

        public java.util.List<org.intocps.maestro.ast.PStm> allocate()
      • getAll

        public java.util.List<org.intocps.maestro.ast.PStm> getAll​(boolean inSimulationLoop)
      • setAll

        public java.util.List<org.intocps.maestro.ast.PStm> setAll()
      • exchangeData

        public java.util.List<org.intocps.maestro.ast.PStm> exchangeData()