public class SequencedVariable extends SequencedSharedMemoryActor
| Red (beth) |
| Red (beth) |
SequencedSharedMemoryActor.ScopeEntity.ContainedObjectsIterator| Modifier and Type | Field and Description |
|---|---|
Parameter |
copyVariableName
Delete this later when icon is figured out!!
|
Parameter |
outputInitialValue
A parameter to hold the output initial value.
|
_scope, _sharedName, initialVariableNamedelayed, input, output, variableName_typesValid_actorFiringListeners, _initializables, _notifyingActorFiring, _stopRequested_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKSCOMPLETED, NOT_READY, STOP_ITERATING| Constructor and Description |
|---|
SequencedVariable(CompositeEntity container,
java.lang.String name)
Create a new SequencedVariable actor with the given name and
container.
|
| Modifier and Type | Method and Description |
|---|---|
protected Token |
_getDefaultValue()
Supplies a default value for the variable, in the case that there
is no initial value.
|
void |
fire()
Fire the actor.
|
void |
preinitialize()
In addition to the superclass preinitialize(), set the actor icon and
its outputInitialValue.
|
void |
setName(java.lang.String name)
When the actor name is changed, update the referenced variables
to point to the new parameters and check to see if these parameters
exist.
|
_setValue, _setValue, checkForAttributes, checkForAttributes, getInitialVariable, getInitialVariableName, getModifiedVariable, getModifiedVariable, getSharedName, getVariable, getVariableName_customTypeConstraints, changeExecuted, changeFailed, clone, getContext, getModifiedVariables, postfire_containedTypeConstraints, _defaultTypeConstraints, _fireAt, _fireAt, attributeTypeChanged, clone, isBackwardTypeInferenceEnabled, newPort, typeConstraintList, typeConstraints_actorFiring, _actorFiring, _declareDelayDependency, addActorFiringListener, addInitializable, connectionsChanged, createReceivers, declareDelayDependency, getCausalityInterface, getDirector, getExecutiveDirector, getManager, initialize, inputPortList, isFireFunctional, isStrict, iterate, newReceiver, outputPortList, prefire, pruneDependencies, recordFiring, removeActorFiringListener, removeDependency, removeInitializable, setContainer, stop, stopFire, terminate, wrapup_adjustDeferrals, _checkContainer, _getContainedObject, _propagateExistence, getContainer, instantiate, isAtomic, isOpaque, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, propagateExistence_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, workspaceequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdescription, getContainer, getDisplayName, getFullName, getName, getNamecreateReceivers, getCausalityInterface, getDirector, getExecutiveDirector, getManager, inputPortList, newReceiver, outputPortListisFireFunctional, isStrict, iterate, prefire, stop, stopFire, terminateaddInitializable, initialize, removeInitializable, wrapupgetDerivedLevel, getDerivedList, propagateValuepublic Parameter outputInitialValue
public Parameter copyVariableName
public SequencedVariable(CompositeEntity container, java.lang.String name) throws NameDuplicationException, IllegalActionException
container - The container that will contain the actor.name - The name of the actor.NameDuplicationException - Thrown if there is already an actor
in the container with the same name.IllegalActionException - Thrown if the actor cannot be
instantiated.public void fire()
throws IllegalActionException
fire in interface Executablefire in class SequencedSharedMemoryActorIllegalActionException - If the actor cannot be fired.public void preinitialize()
throws IllegalActionException
preinitialize in interface Initializablepreinitialize in class SequencedSharedMemoryActorIllegalActionException - If the actor cannot be preinitialized.public void setName(java.lang.String name)
throws IllegalActionException,
NameDuplicationException
setName in interface NameablesetName in class SequencedSharedMemoryActorname - The new name for the actor.IllegalActionException - Thrown if there is a problem setting
the actor name.NameDuplicationException - Thrown if the new name conflicts with
the name of an existing actor in the container.NamedObj.getName(),
NamedObj.getName(NamedObj)protected Token _getDefaultValue() throws IllegalActionException
_getDefaultValue in class SequencedSharedMemoryActorIllegalActionException - Subclasses should throw an exception if
an explicit initial value is required.