public class UnitOutputPort extends UnitBlockPort implements ConnectableOutput, GettablePort
Constructor and Description |
---|
UnitOutputPort() |
UnitOutputPort(int numParts,
java.lang.String name) |
UnitOutputPort(int numParts,
java.lang.String name,
double defaultValue) |
UnitOutputPort(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
connect(ConnectableInput input) |
void |
connect(int thisPartNum,
UnitInputPort otherPort,
int otherPartNum) |
void |
connect(int thisPartNum,
UnitInputPort otherPort,
int otherPartNum,
TimeStamp timeStamp) |
void |
connect(UnitInputPort input) |
void |
connect(UnitSink sink) |
void |
disconnect(ConnectableInput input) |
void |
disconnect(int thisPartNum,
UnitInputPort otherPort,
int otherPartNum) |
void |
disconnect(int thisPartNum,
UnitInputPort otherPort,
int otherPartNum,
TimeStamp timeStamp) |
void |
disconnect(UnitInputPort otherPort) |
void |
flatten() |
ConnectableOutput |
getConnectablePart(int i) |
disconnectAll, disconnectAll, get, get, getNumParts, getValue, getValue, getValues, getValues, isConnected, isConnected, makeParts, setValueInternal, setValueInternal
getName, getUnitGenerator, queueCommand, scheduleCommand, setName, setUnitGenerator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, getNumParts, getUnitGenerator, getValue
public UnitOutputPort()
public UnitOutputPort(java.lang.String name)
public UnitOutputPort(int numParts, java.lang.String name)
public UnitOutputPort(int numParts, java.lang.String name, double defaultValue)
public void flatten()
public void connect(int thisPartNum, UnitInputPort otherPort, int otherPartNum)
public void connect(int thisPartNum, UnitInputPort otherPort, int otherPartNum, TimeStamp timeStamp)
public void connect(UnitInputPort input)
public void connect(ConnectableInput input)
connect
in interface ConnectableOutput
public void connect(UnitSink sink)
public void disconnect(int thisPartNum, UnitInputPort otherPort, int otherPartNum)
public void disconnect(int thisPartNum, UnitInputPort otherPort, int otherPartNum, TimeStamp timeStamp)
public void disconnect(UnitInputPort otherPort)
public void disconnect(ConnectableInput input)
disconnect
in interface ConnectableOutput
public ConnectableOutput getConnectablePart(int i)