Class ExternalOutputCoupling<T extends Number & Comparable<T>,P>
java.lang.Object
nl.tudelft.simulation.dsol.formalisms.devs.esdevs.ExternalOutputCoupling<T,P>
- Type Parameters:
T
- the time typeP
- the type of message the EOC produces.
EOC class. EOC stands for External Output Coupling, which is a coupling between a component within a coupled model towards
the outside of that coupled model. The definition can be found in Zeigler et al. (2000), p. 86-87.
Copyright (c) 2009-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can be found at https://https://simulation.tudelft.nl/dsol/docs/latest/license.html.
- Author:
- Mamadou Seck
, Alexander Verbraeck
-
Constructor Summary
ConstructorDescriptionExternalOutputCoupling
(OutputPortInterface<T, P> fromPort, OutputPortInterface<T, P> toPort) Make the wiring between output and input. -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
ExternalOutputCoupling
public ExternalOutputCoupling(OutputPortInterface<T, P> fromPort, OutputPortInterface<T, throws ExceptionP> toPort) Make the wiring between output and input.- Parameters:
fromPort
- OutputPortInterface<T,P>; the output port of the sending componenttoPort
- OutputPortInterface<T,P>; input port of the receiving component- Throws:
Exception
- in case of wiring to self
-
-
Method Details
-
getFromPort
- Returns:
- the output port of the sending component.
-
getToPort
- Returns:
- the input port of the receiving component.
-