|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.DrclObj
drcl.comp.Wire
| Constructor Summary | |
Wire()
|
|
| Method Summary | |
boolean |
anyPortExcept(Port excluded_)
Returns true if there exists a port, other than excluded_,
which is connected to this wire. |
void |
attach(Port p_)
Attaches the port to this wire as an "IN" port. |
void |
attach(Port[] pp_)
Attaches the ports to this wire as "IN" ports. |
void |
detach(Port p_)
Detaches the port from "IN" ports. |
void |
detach(Port[] pp_)
Detaches the ports from "IN" ports. |
void |
disconnect()
Disconnects all the connected ports from this wire. |
void |
disconnect(Port p_)
Disconnects the port from this wire. |
void |
disconnect(Port[] pp_)
Disconnects the ports from this wire. |
void |
duplicate(java.lang.Object source_)
opies the content of the source_ object to this object.
|
Port[] |
getInPorts()
Returns all the "IN" ports that are attached to this wire, including shadow ports. |
Port[] |
getOutPorts()
Returns all the "OUT" ports that are attached to this wire including shadow ports. |
Port[] |
getPorts()
Returns all the ports that are attached to this wire including shadow ports. |
Port[] |
getPortsExcept(Port excluded_)
Returns all the ports, except excluded_, that
are attached to this wire. |
Port[] |
getRealInPorts()
Returns all the real "IN" ports that are attached to this wire. |
Port[] |
getRealOutPorts()
Returns all the real "OUT" ports that are attached to this wire. |
Port[] |
getRealPorts()
Returns all the ports that are attached to this wire. |
Port[] |
getRealPortsExcept(Port excluded_)
Returns all the real ports, except excluded_, that
are attached to this wire. |
Port[] |
getShadowInPorts()
Returns all the shadow "IN" ports that are attached to this wire. |
Port[] |
getShadowOutPorts()
Returns all the shadow "OUT" ports that are attached to this wire. |
Port[] |
getShadowPorts()
Returns all the shadow ports that are attached to this wire. |
Port[] |
getShadowPortsExcept(Port excluded_)
Returns all the shadow ports, except excluded_, that
are attached to this wire. |
java.lang.String |
info()
|
Wire |
inoutSplit(Port target_)
Splits this wire with respect to the target port. |
boolean |
isAttachedToBy(Port p_)
Returns true if the specified port is attached to this wire. |
boolean |
isAttachedToInBy(Port p_)
Returns true if the specified port is attached to this wire as IN ports. |
boolean |
isAttachedToOutBy(Port p_)
Returns true if the specified port is attached to this wire as OUT ports. |
Wire |
join(Wire that_)
Joins the wire that_ to this.
|
Wire |
joinIn(Port p_)
Joins the wire as IN to receive data from the wire. |
Wire |
joinInOut(Port p_)
Joins the wire for both send and receive data. |
Wire |
joinOut(Port p_)
Joins the wire as OUT to send data to the wire. |
Wire |
split(Port[] pp_)
Splits the ports from this wire. |
java.lang.String |
toString()
|
| Methods inherited from class drcl.DrclObj |
clone |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Wire()
| Method Detail |
public void duplicate(java.lang.Object source_)
DrclObjsource_ object to this object.
he subclass must implement this method to realize DrclObj.clone().
duplicate in interface ObjectDuplicableduplicate in class DrclObjpublic Wire join(Wire that_)
that_ to this.
Assumes that the shadow/client relation among ports in these
two wires have been resolved.
public Wire joinIn(Port p_)
public Wire joinOut(Port p_)
public Wire joinInOut(Port p_)
public void attach(Port p_)
public void attach(Port[] pp_)
public void detach(Port p_)
public void detach(Port[] pp_)
public void disconnect()
public void disconnect(Port p_)
public void disconnect(Port[] pp_)
public Wire split(Port[] pp_)
public Wire inoutSplit(Port target_)
public boolean anyPortExcept(Port excluded_)
excluded_,
which is connected to this wire.
public boolean isAttachedToBy(Port p_)
public boolean isAttachedToInBy(Port p_)
public boolean isAttachedToOutBy(Port p_)
public Port[] getInPorts()
public Port[] getOutPorts()
public Port[] getPorts()
public Port[] getRealInPorts()
public Port[] getRealOutPorts()
public Port[] getRealPorts()
public Port[] getShadowInPorts()
public Port[] getShadowOutPorts()
public Port[] getShadowPorts()
public Port[] getPortsExcept(Port excluded_)
excluded_, that
are attached to this wire.
public Port[] getRealPortsExcept(Port excluded_)
excluded_, that
are attached to this wire.
public Port[] getShadowPortsExcept(Port excluded_)
excluded_, that
are attached to this wire.
public java.lang.String info()
public java.lang.String toString()
toString in class DrclObj
|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||