|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.actor.process.BoundaryDetector
public class BoundaryDetector
A BoundaryDetector determines the topological relationship of a Receiver with respect to boundary ports.
Red (davisj) |
Red (davisj) |
Field Summary | |
---|---|
private boolean |
_connectedBoundaryCacheIsOn
|
private boolean |
_connectedInsideOfBoundaryCacheIsOn
|
private boolean |
_connectedOutsideOfBoundaryCacheIsOn
|
private boolean |
_insideBoundaryCacheIsOn
|
private boolean |
_isConnectedBoundaryValue
|
private boolean |
_isConnectedInsideOfBoundaryValue
|
private boolean |
_isConnectedOutsideOfBoundaryValue
|
private boolean |
_isInsideBoundaryValue
|
private boolean |
_isOutsideBoundaryValue
|
private boolean |
_outsideBoundaryCacheIsOn
|
private Receiver |
_receiver
|
Constructor Summary | |
---|---|
BoundaryDetector(Receiver receiver)
Construct a BoundaryDetector with the specified containing receiver. |
Method Summary | |
---|---|
boolean |
isConnectedToBoundary()
Return true if the receiver containing this boundary detector is connected to a boundary port. |
boolean |
isConnectedToBoundaryInside()
Return true if the receiver containing this boundary detector is connected to the inside of an input boundary port; return false otherwise. |
boolean |
isConnectedToBoundaryOutside()
Return true if the receiver containing this boundary detector is connected to the outside of an output boundary port; return false otherwise. |
boolean |
isInsideBoundary()
Return true if the receiver containing this boundary detector is contained on the inside of a boundary port. |
boolean |
isOutsideBoundary()
Return true if the receiver containing this boundary detector is contained on the outside of a boundary port. |
void |
reset()
Reset the cache variables in boundary detector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Receiver _receiver
private boolean _insideBoundaryCacheIsOn
private boolean _isInsideBoundaryValue
private boolean _outsideBoundaryCacheIsOn
private boolean _isOutsideBoundaryValue
private boolean _connectedBoundaryCacheIsOn
private boolean _isConnectedBoundaryValue
private boolean _connectedInsideOfBoundaryCacheIsOn
private boolean _isConnectedInsideOfBoundaryValue
private boolean _connectedOutsideOfBoundaryCacheIsOn
private boolean _isConnectedOutsideOfBoundaryValue
Constructor Detail |
---|
public BoundaryDetector(Receiver receiver)
receiver
- The receiver containing this BoundaryDetector.Method Detail |
---|
public boolean isConnectedToBoundary() throws IllegalActionException
IllegalActionException
public boolean isConnectedToBoundaryInside() throws InvalidStateException, IllegalActionException
IllegalActionException
InvalidStateException
public boolean isConnectedToBoundaryOutside() throws IllegalActionException
IllegalActionException
public boolean isInsideBoundary()
public boolean isOutsideBoundary()
public void reset()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |