public class PortBlockPart extends java.lang.Object implements ConnectableOutput, ConnectableInput
Modifier | Constructor and Description |
---|---|
protected |
PortBlockPart(UnitBlockPort unitBlockPort,
double defaultValue) |
Modifier and Type | Method and Description |
---|---|
void |
connect(ConnectableInput other) |
void |
connect(ConnectableOutput other) |
protected void |
connect(PortBlockPart destination) |
protected void |
connect(PortBlockPart destination,
TimeStamp timeStamp) |
void |
disconnect(ConnectableInput other) |
void |
disconnect(ConnectableOutput other) |
protected void |
disconnect(PortBlockPart destination) |
protected void |
disconnect(PortBlockPart destination,
TimeStamp timeStamp) |
protected void |
disconnectAll() |
protected void |
flatten()
Set all values to the last value.
|
double |
get() |
PortBlockPart |
getConnection(int i) |
int |
getConnectionCount() |
protected UnitBlockPort |
getPort() |
PortBlockPart |
getPortBlockPart()
To implement ConnectableInput
|
double |
getValue() |
double[] |
getValues() |
protected boolean |
isConnected() |
void |
pullData(long frameCount,
int start,
int limit) |
protected void |
setValue(double value) |
protected PortBlockPart(UnitBlockPort unitBlockPort, double defaultValue)
public double[] getValues()
public double getValue()
public double get()
protected void setValue(double value)
protected boolean isConnected()
public PortBlockPart getConnection(int i)
public int getConnectionCount()
protected void flatten()
protected UnitBlockPort getPort()
protected void connect(PortBlockPart destination)
protected void connect(PortBlockPart destination, TimeStamp timeStamp)
protected void disconnect(PortBlockPart destination)
protected void disconnect(PortBlockPart destination, TimeStamp timeStamp)
protected void disconnectAll()
public void connect(ConnectableInput other)
connect
in interface ConnectableOutput
public void connect(ConnectableOutput other)
connect
in interface ConnectableInput
public void disconnect(ConnectableOutput other)
disconnect
in interface ConnectableInput
public void disconnect(ConnectableInput other)
disconnect
in interface ConnectableOutput
public PortBlockPart getPortBlockPart()
getPortBlockPart
in interface ConnectableInput
public void pullData(long frameCount, int start, int limit)
pullData
in interface ConnectableInput