Package | Description |
---|---|
ptolemy.actor |
Executable entities.
|
ptolemy.actor.lib.hoc |
Higher Order Component Classes.
|
ptolemy.actor.test |
The ptolemy.actor.test package.
|
ptolemy.domains.modal.kernel |
The ptolemy.domains.modal.kernel package.
|
ptolemy.domains.modal.kernel.ia |
Support for Interface Automatons.
|
ptolemy.domains.modal.modal |
The ptolemy.domains.modal.modal package.
|
ptolemy.kernel |
Kernel classes that provide Entity, Port and Relations.
|
ptolemy.kernel.test |
The ptolemy.kernel.test package.
|
ptolemy.moml |
Modeling Markup Language classes.
|
ptolemy.vergil.basic.layout.kieler |
Classes used to layout entities and relations in Vergil that use the
KIELER layout algorithm.
|
Modifier and Type | Class and Description |
---|---|
class |
IORelation
This class mediates connections between ports that can send data to
one another via message passing.
|
class |
TypedIORelation
This class overrides some of the methods in IORelation to ensure that
TypedIOPorts are only connected to TypedIOPorts.
|
Modifier and Type | Method and Description |
---|---|
protected void |
IOPort._checkLiberalLink(Relation relation)
Override parent method to ensure compatibility of the relation
and validity of the width of the port.
|
protected void |
TypedIOPort._checkLink(Relation relation)
Override the method in the super class to ensure compatibility of
the relation.
|
protected void |
IOPort._checkLink(Relation relation)
Override parent method to ensure compatibility of the relation
and validity of the width of the port.
|
protected void |
IORelation._checkRelation(Relation relation,
boolean symmetric)
Throw an exception if the specified relation is not an instance
of IORelation or if it does not have the same width as this relation.
|
protected void |
TypedIORelation._checkRelation(Relation relation,
boolean symmetric)
Throw an exception if the specified relation is not an instance
of TypedIORelation.
|
protected void |
IOPort._removeReceivers(Relation relation)
Remove the receivers associated with the specified
relation, if there are any.
|
static int |
IOPort.getRelationIndex(IOPort port,
Relation relation,
boolean isOutsideRelation)
Retrieve the index of the relation at the port.
|
void |
IOPort.insertLink(int index,
Relation relation)
Override the base class to invalidate the schedule and resolved
types of the director of the container, if there is one, in addition
to what the base class does.
|
void |
IOPort.link(Relation relation)
Override the base class to invalidate the schedule and resolved
types of the director of the container, if there is one, in addition
to what the base class does.
|
void |
IOPort.unlink(Relation relation)
Unlink the specified Relation.
|
void |
IOPort.unlinkInside(Relation relation)
Unlink the specified Relation on the inside.
|
Modifier and Type | Method and Description |
---|---|
void |
RefinementPort.link(Relation relation)
Set the connected relation to a bus if this port is a multiport.
|
Modifier and Type | Class and Description |
---|---|
class |
TestTypedIORelation
Class for testing TypedIORelation
|
Modifier and Type | Class and Description |
---|---|
class |
Transition
A Transition has a source state and a destination state.
|
Modifier and Type | Class and Description |
---|---|
class |
InterfaceAutomatonTransition
A Transition for Interface Automaton.
|
Modifier and Type | Method and Description |
---|---|
void |
TransitionRefinementPort.link(Relation relation)
Override the base class to avoid linking a sibling input port to
the same relation as the sibling output port multiple times.
|
void |
RefinementPort.link(Relation relation)
Set the connected relation to a bus if this port is a multiport.
|
Modifier and Type | Class and Description |
---|---|
class |
ComponentRelation
This class defines a relation supporting hierarchy (clustered graphs).
|
Modifier and Type | Method and Description |
---|---|
protected void |
ComponentPort._checkLiberalLink(Relation relation)
Check the validity of a link.
|
protected void |
Port._checkLink(Relation relation)
Check that this port is compatible with the specified relation,
that it has a container.
|
protected void |
ComponentPort._checkLink(Relation relation)
Override the base class to throw an exception if the relation is
not a ComponentRelation, or if the container of the port or
relation is null, or if the container of this port is a class
definition and the link is not an inside link.
|
protected void |
Relation._checkRelation(Relation relation,
boolean symmetric)
Check that this relation is compatible with the specified relation.
|
protected void |
ComponentRelation._checkRelation(Relation relation,
boolean symmetric)
Throw an exception if the specified relation is not an instance
of ComponentRelation.
|
void |
ComponentPort.insertInsideLink(int index,
Relation relation)
Insert a link to the specified relation at the specified index,
and notify the container by calling its connectionsChanged() method.
|
void |
Port.insertLink(int index,
Relation relation)
Insert a link to the specified relation at the specified index,
and notify the container by calling its connectionsChanged() method.
|
void |
ComponentPort.insertLink(int index,
Relation relation)
Insert a link to the specified relation at the specified index,
and notify the container by calling its connectionsChanged() method.
|
boolean |
Port.isGroupLinked(Relation r)
Return true if the given relation or one in its relation
group is linked to this port.
|
boolean |
ComponentPort.isInsideGroupLinked(Relation r)
Return true if the given relation or one in its relation
group is linked to this port on the inside.
|
boolean |
ComponentPort.isInsideLinked(Relation relation)
Return true if the given relation is linked from inside.
|
boolean |
Port.isLinked(Relation r)
Return true if the given relation is linked to this port.
|
void |
Port.link(Relation relation)
Link this port with a relation, and notify the container by
calling its connectionsChanged() method.
|
void |
ComponentPort.link(Relation relation)
Link this port with the specified relation.
|
void |
Relation.link(Relation relation)
Link this relation with another relation.
|
void |
Port.unlink(Relation relation)
Unlink the specified Relation.
|
void |
ComponentPort.unlink(Relation relation)
Unlink the specified Relation.
|
void |
Relation.unlink(Relation relation)
Unlink the specified Relation.
|
void |
ComponentPort.unlinkInside(Relation relation)
Unlink the specified relation on the inside.
|
Modifier and Type | Class and Description |
---|---|
class |
TestComponentRelation
This class is used to test protected method(s) in ComponentRelation
|
Constructor and Description |
---|
Vertex(Relation container,
java.lang.String name)
Construct an attribute with the given name and position.
|
Modifier and Type | Method and Description |
---|---|
protected static java.util.Set<java.util.List<Relation>> |
PtolemyModelUtil._getRelationGroups(java.util.Set<Relation> relations)
For a set of relations get a set of relation groups, i.e. for each
relation construct a list of relations that are all interconnected,
either directly or indirectly.
|
Modifier and Type | Method and Description |
---|---|
void |
ApplyLayoutRequest.addConnection(Relation relation,
NamedObj head,
NamedObj tail,
double[] bendPoints)
Add a new connection routing change to the request.
|
void |
ApplyLayoutRequest.addConnection(Relation relation,
NamedObj head,
NamedObj tail,
double[] bendPoints,
java.awt.geom.Point2D.Double labelLocation)
Add a new connection routing change to the request.
|
Modifier and Type | Method and Description |
---|---|
protected static java.util.Set<java.util.List<Relation>> |
PtolemyModelUtil._getRelationGroups(java.util.Set<Relation> relations)
For a set of relations get a set of relation groups, i.e. for each
relation construct a list of relations that are all interconnected,
either directly or indirectly.
|