Package org.intocps.maestro.plugin
Class DataExchangeHandler
- java.lang.Object
-
- org.intocps.maestro.plugin.DataExchangeHandler
-
public class DataExchangeHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description DataExchangeHandler(Set<org.intocps.maestro.framework.fmi2.Fmi2SimulationEnvironment.Relation> relations, org.intocps.maestro.framework.fmi2.Fmi2SimulationEnvironment env, Function<org.intocps.maestro.ast.LexIdentifier,org.intocps.maestro.ast.node.PStateDesignator> getCompStatusDesignator, BiConsumer<Map.Entry<Boolean,String>,Map.Entry<org.intocps.maestro.ast.LexIdentifier,List<org.intocps.maestro.ast.node.PStm>>> checkStatus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.intocps.maestro.ast.node.PStm>allocate()List<org.intocps.maestro.ast.node.PStm>exchangeData()List<org.intocps.maestro.ast.node.PStm>getAll(boolean inSimulationLoop)Set<org.intocps.maestro.framework.fmi2.Fmi2SimulationEnvironment.Relation>getInputRelations()Map<org.intocps.maestro.ast.LexIdentifier,Map<org.intocps.maestro.fmi.Fmi2ModelDescription.Types,List<org.intocps.maestro.fmi.Fmi2ModelDescription.ScalarVariable>>>getOutputs()List<org.intocps.maestro.ast.node.PStm>setAll()
-
-
-
Constructor Detail
-
DataExchangeHandler
public DataExchangeHandler(Set<org.intocps.maestro.framework.fmi2.Fmi2SimulationEnvironment.Relation> relations, org.intocps.maestro.framework.fmi2.Fmi2SimulationEnvironment env, Function<org.intocps.maestro.ast.LexIdentifier,org.intocps.maestro.ast.node.PStateDesignator> getCompStatusDesignator, BiConsumer<Map.Entry<Boolean,String>,Map.Entry<org.intocps.maestro.ast.LexIdentifier,List<org.intocps.maestro.ast.node.PStm>>> checkStatus)
-
-
Method Detail
-
getOutputs
public Map<org.intocps.maestro.ast.LexIdentifier,Map<org.intocps.maestro.fmi.Fmi2ModelDescription.Types,List<org.intocps.maestro.fmi.Fmi2ModelDescription.ScalarVariable>>> getOutputs()
-
getInputRelations
public Set<org.intocps.maestro.framework.fmi2.Fmi2SimulationEnvironment.Relation> getInputRelations()
-
allocate
public List<org.intocps.maestro.ast.node.PStm> allocate()
-
getAll
public List<org.intocps.maestro.ast.node.PStm> getAll(boolean inSimulationLoop)
-
setAll
public List<org.intocps.maestro.ast.node.PStm> setAll()
-
exchangeData
public List<org.intocps.maestro.ast.node.PStm> exchangeData()
-
-