|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.kernel.util.NamedObj
ptolemy.kernel.Relation
ptolemy.kernel.ComponentRelation
ptolemy.domains.fsm.kernel.Transition
ptolemy.domains.tdl.kernel.TDLTransition
public class TDLTransition
A TDL transition has some specific TDL parameters. - frequency: together with the mode period, this value defines when this transition is tested.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ptolemy.kernel.util.NamedObj |
---|
NamedObj.ContainedObjectsIterator |
Field Summary | |
---|---|
Parameter |
frequency
The frequency of the transition. |
java.util.List |
requiredPorts
List of all ports that are used in this guard expression. |
java.util.List |
requiredSensors
List of Sensors that are used in this guard expression. |
Fields inherited from class ptolemy.domains.fsm.kernel.Transition |
---|
annotation, defaultTransition, exitAngle, gamma, guardExpression, nondeterministic, outputActions, preemptive, refinementName, reset, setActions |
Fields inherited from class ptolemy.kernel.Relation |
---|
_linkList |
Fields inherited from class ptolemy.kernel.util.NamedObj |
---|
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS |
Constructor Summary | |
---|---|
TDLTransition(TDLActor container,
java.lang.String name)
Construct a transition with the given name contained by the specified entity. |
|
TDLTransition(Workspace workspace)
Construct a transition contained by the specified entity. |
Method Summary | |
---|---|
private void |
_getDependentModuleInputPorts()
Compute the list of ports that are used in this guard expression. |
private void |
_init()
Initialize the parameters of a transition. |
void |
attributeChanged(Attribute attribute)
React to a change in an attribute. |
Methods inherited from class ptolemy.domains.fsm.kernel.Transition |
---|
_checkPort, choiceActionList, clone, commitActionList, destinationState, getGuardExpression, getLabel, getParseTreeEvaluator, getRefinement, isDefault, isEnabled, isEnabled, isNondeterministic, isPreemptive, setContainer, setGuardExpression, sourceState |
Methods inherited from class ptolemy.kernel.ComponentRelation |
---|
_checkContainer, _checkRelation, _propagateExistence, deepLinkedPortList, deepLinkedPorts, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setName, unlinkAll |
Methods inherited from class ptolemy.kernel.Relation |
---|
_description, _getContainedObject, link, linkedObjectsList, linkedPortList, linkedPortList, linkedPorts, linkedPorts, numLinks, relationGroupList, unlink |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Parameter frequency
public java.util.List requiredPorts
public java.util.List requiredSensors
Constructor Detail |
---|
public TDLTransition(Workspace workspace) throws IllegalActionException, NameDuplicationException
workspace
- The workspace for synchronization and version
tracking.
IllegalActionException
- If the container is incompatible
with this transition.
NameDuplicationException
- If the name coincides with
any relation already in the container.public TDLTransition(TDLActor container, java.lang.String name) throws IllegalActionException, NameDuplicationException
container
- The container.name
- The name of the transition.
IllegalActionException
- If the container is incompatible with this transition.
NameDuplicationException
- If the name coincides with any relation already in the
container.Method Detail |
---|
public void attributeChanged(Attribute attribute) throws IllegalActionException
Transition
attributeChanged
in class Transition
attribute
- The attribute that changed.
IllegalActionException
- If thrown by the superclass
attributeChanged() method, or the changed attribute is the
preemptive parameter and is given an expression that
does not evaluate to a boolean value.private void _getDependentModuleInputPorts() throws IllegalActionException
IllegalActionException
- Thrown if guard expression cannot be parsed.private void _init() throws NameDuplicationException, IllegalActionException
IllegalActionException
- Thrown if frequency parameter cannot be created.
NameDuplicationException
- Thrown if The frequency parameter cannot be created.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |