public abstract class AtomicContinuationActor extends TypedAtomicActor implements Continuation
Entity.ContainedObjectsIterator
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<ControlEntryToken.EntryLocation,TypedIOPort> |
_entryPoints |
protected java.util.HashMap<TypedIOPort,ControlEntryToken.EntryLocation> |
_entryPointsR |
protected TypedIOPort |
_entryPort |
protected java.util.HashMap<ControlExitToken.ExitLocation,TypedIOPort> |
_exitPoints |
protected java.util.HashMap<TypedIOPort,ControlExitToken.ExitLocation> |
_exitPointsR |
protected TypedIOPort |
_exitPort |
protected TypedIOPort |
_initPoint |
protected TypedIOPort |
_resumePoint |
_typesValid
_actorFiringListeners, _initializables, _notifyingActorFiring, _stopRequested
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
COMPLETED, NOT_READY, STOP_ITERATING
Constructor and Description |
---|
AtomicContinuationActor() |
AtomicContinuationActor(CompositeEntity container,
java.lang.String name) |
AtomicContinuationActor(Workspace workspace) |
Modifier and Type | Method and Description |
---|---|
void |
addEntryLocation(ControlEntryToken.EntryLocation l) |
void |
addExitLocation(ControlExitToken.ExitLocation l) |
ControlExitToken |
controlEnter(ControlEntryToken entry) |
ControlExitToken |
controlEnterAt(ControlEntryToken.EntryLocation location) |
ControlExitToken |
controlInit() |
ControlExitToken |
controlResume() |
java.util.List<ControlEntryToken.EntryLocation> |
entryLocations()
Returns the set of exposed Entry Locations.
|
java.util.List<ControlExitToken.ExitLocation> |
exitLocations()
Returns the set of exposed Exit Locations.
|
void |
fire()
Do nothing.
|
ControlEntryToken |
getEntryActionFromPort(TypedIOPort p) |
ControlExitToken.ExitLocation |
getExitLocationFromPort(TypedIOPort p) |
_containedTypeConstraints, _customTypeConstraints, _defaultTypeConstraints, _fireAt, _fireAt, attributeTypeChanged, clone, clone, isBackwardTypeInferenceEnabled, newPort, typeConstraintList, typeConstraints
_actorFiring, _actorFiring, _declareDelayDependency, addActorFiringListener, addInitializable, connectionsChanged, createReceivers, declareDelayDependency, getCausalityInterface, getDirector, getExecutiveDirector, getManager, initialize, inputPortList, isFireFunctional, isStrict, iterate, newReceiver, outputPortList, postfire, prefire, preinitialize, pruneDependencies, recordFiring, removeActorFiringListener, removeDependency, removeInitializable, setContainer, stop, stopFire, terminate, wrapup
_adjustDeferrals, _checkContainer, _getContainedObject, _propagateExistence, getContainer, instantiate, isAtomic, isOpaque, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, propagateExistence, setName
_addPort, _description, _exportMoMLContents, _removePort, _validateSettables, connectedPortList, connectedPorts, containedObjectsIterator, getAttribute, getPort, getPorts, linkedRelationList, linkedRelations, portList, removeAllPorts, setClassDefinition, uniqueName
_setParent, exportMoML, getChildren, getElementName, getParent, getPrototypeList, isClassDefinition, isWithinClassDefinition
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _containedDecorators, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _executeChangeRequests, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, addChangeListener, addDebugListener, addHierarchyListener, attributeChanged, attributeDeleted, attributeList, attributeList, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttributes, getChangeListeners, getClassName, getDecoratorAttribute, getDecoratorAttributes, getDerivedLevel, getDerivedList, getDisplayName, getFullName, getModelErrorHandler, getName, getName, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, lazyContainedObjectsIterator, message, notifyOfNameChange, propagateValue, propagateValues, removeAttribute, removeChangeListener, removeDebugListener, removeHierarchyListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, toString, validateSettables, workspace
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createReceivers, getCausalityInterface, getDirector, getExecutiveDirector, getManager, inputPortList, newReceiver, outputPortList
isFireFunctional, isStrict, iterate, postfire, prefire, stop, stopFire, terminate
addInitializable, initialize, preinitialize, removeInitializable, wrapup
description, getContainer, getDisplayName, getFullName, getName, getName, setName
getDerivedLevel, getDerivedList, propagateValue
protected TypedIOPort _entryPort
protected TypedIOPort _exitPort
protected TypedIOPort _initPoint
protected TypedIOPort _resumePoint
protected java.util.HashMap<ControlEntryToken.EntryLocation,TypedIOPort> _entryPoints
protected java.util.HashMap<TypedIOPort,ControlEntryToken.EntryLocation> _entryPointsR
protected java.util.HashMap<ControlExitToken.ExitLocation,TypedIOPort> _exitPoints
protected java.util.HashMap<TypedIOPort,ControlExitToken.ExitLocation> _exitPointsR
public AtomicContinuationActor()
public AtomicContinuationActor(Workspace workspace)
public AtomicContinuationActor(CompositeEntity container, java.lang.String name) throws IllegalActionException, NameDuplicationException
public ControlExitToken controlEnter(ControlEntryToken entry) throws IllegalActionException
controlEnter
in interface Continuation
IllegalActionException
public ControlExitToken controlInit() throws IllegalActionException
controlInit
in interface Continuation
IllegalActionException
public ControlExitToken controlResume() throws IllegalActionException
controlResume
in interface Continuation
IllegalActionException
public ControlExitToken controlEnterAt(ControlEntryToken.EntryLocation location) throws IllegalActionException
controlEnterAt
in interface Continuation
IllegalActionException
public java.util.List<ControlEntryToken.EntryLocation> entryLocations()
Continuation
entryLocations
in interface Continuation
public java.util.List<ControlExitToken.ExitLocation> exitLocations()
Continuation
exitLocations
in interface Continuation
public void addEntryLocation(ControlEntryToken.EntryLocation l) throws IllegalActionException, NameDuplicationException
public void addExitLocation(ControlExitToken.ExitLocation l) throws IllegalActionException, NameDuplicationException
public ControlEntryToken getEntryActionFromPort(TypedIOPort p)
public ControlExitToken.ExitLocation getExitLocationFromPort(TypedIOPort p)
public void fire() throws IllegalActionException
AtomicActor
fire
in interface Executable
fire
in class AtomicActor<TypedIOPort>
IllegalActionException
- Not thrown in this base class.