|
DRCL JavaSim API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--drcl.DrclObj
|
+--drcl.comp.Wire
| Field Summary | |
static java.lang.String |
IN
|
static java.lang.String |
INOUT
|
static java.lang.String |
OUT
|
| 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. |
Port[] |
getOutPorts()
Returns all the "OUT" ports that are attached to this wire. |
Port[] |
getPorts()
Returns all the ports that are attached to this wire. |
Port[] |
getPortsExcept(Port excluded_)
Returns all the ports, except excluded_, that
are attached to this wire. |
Port[] |
getPortsIn(Component container_)
Returns all the ports, inside the container, which are attached to this wire. |
java.lang.String |
getType(Port p_)
Returns the type of connection by which the port is connected to this wire. |
java.lang.String |
info()
|
boolean |
isAttachedToBy(Port p_)
Returns true if the specified port is attached to this wire. |
boolean |
isAttachedToBy(Port p_,
java.lang.String type_)
Returns true if the specified port is attached to this wire as the type specified. |
Wire |
join(Port[] pp_,
java.lang.String type_)
Joins the ports with this wire. |
Wire |
join(Port p1_,
Port p2_,
java.lang.String type_)
Joins the two ports with this wire. |
Wire |
join(Port p_,
java.lang.String type_)
Joins the port with this wire. |
Wire |
join(Port p1_,
java.lang.String type1_,
Port p2_,
java.lang.String type2_)
Joins the two ports with this wire. |
Wire |
join(Wire that_)
Joins the wire that_ to this. |
void |
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String OUT
public static final java.lang.String IN
public static final java.lang.String INOUT
| 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 class DrclObjpublic Wire join(Wire that_)
that_ to this.
public Wire join(Port p_,
java.lang.String type_)
public Wire join(Port p1_,
Port p2_,
java.lang.String type_)
public Wire join(Port p1_,
java.lang.String type1_,
Port p2_,
java.lang.String type2_)
public Wire join(Port[] pp_,
java.lang.String type_)
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 void split(Port[] pp_)
public boolean anyPortExcept(Port excluded_)
excluded_,
which is connected to this wire.public boolean isAttachedToBy(Port p_)
public boolean isAttachedToBy(Port p_,
java.lang.String type_)
public java.lang.String getType(Port p_)
IN, OUT or
INOUT.public Port[] getInPorts()
public Port[] getOutPorts()
public Port[] getPorts()
public Port[] getPortsExcept(Port excluded_)
excluded_, that
are attached to this wire.public Port[] getPortsIn(Component container_)
public java.lang.String info()
public java.lang.String toString()
toString in class DrclObj
|
DRCL JavaSim API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||