|
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
public abstract class SimulinkPortBase
Base class for Simulink ports.
Constructor Summary | |
---|---|
protected |
SimulinkPortBase(SimulinkBlock block,
java.lang.String index)
Create Simulink port. |
Method Summary | |
---|---|
SimulinkBlock |
getBlock()
Get the block this port belongs to. |
java.lang.String |
getIndex()
Get the port index. |
void |
remove()
This only sets the block to null . |
java.lang.String |
toString()
Get string representation of this block: <index>@<block_id>. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected SimulinkPortBase(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'
indicating a special port.Method Detail |
---|
public java.lang.String getIndex()
public SimulinkBlock getBlock()
public java.lang.String toString()
toString
in class java.lang.Object
public void remove()
null
. Acutal remove
implementation is done in the sub classes.
|
simulink | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |