|
simulink | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.tum.cs.simulink.model.SimulinkPortBase
edu.tum.cs.simulink.model.SimulinkInPort
public class SimulinkInPort
A Simulink inport. An inport can be connected to only one
SimulinkLine
.
Constructor Summary | |
---|---|
SimulinkInPort(SimulinkBlock block,
java.lang.String index)
Create simulink inport. |
Method Summary | |
---|---|
SimulinkLine |
getLine()
Get line connected to this port. |
void |
remove()
This only sets the block to null . |
Methods inherited from class edu.tum.cs.simulink.model.SimulinkPortBase |
---|
getBlock, getIndex, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SimulinkInPort(SimulinkBlock block, java.lang.String index)
block
- The block this port belongs to.index
- The port index. This may be a number or a string like 'enable'Method Detail |
---|
public SimulinkLine getLine()
null
if no line is connected.public void remove()
null
. Acutal remove
implementation is done in the sub classes.
remove
in class SimulinkPortBase
|
simulink | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |