public class SequencedIntegrator extends BaseMultipleMethodsActor
| Red (cshelton) |
| Red (cshelton) |
SequencedSharedMemoryActor.ScopeEntity.ContainedObjectsIterator| Modifier and Type | Field and Description |
|---|---|
TypedIOPort |
callSetStateMethod
The trigger port for the setState() method.
|
TypedIOPort |
currentState
The current state of the integrator output port.
|
TypedIOPort |
sampleFactor
The sample factor input port.
|
TypedIOPort |
sampleTime
The sample time input port.
|
TypedIOPort |
setStateValue
The integrator initialization input port.
|
_defaultFireMethodName, _fireMethodName, _fireMethodNameToInputPortList, _methodList_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 |
|---|
SequencedIntegrator(CompositeEntity container,
java.lang.String name)
Create a new instance of the SequencedIntegrator 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()
Execute the SequencedIntegrator actor. call either the setState method,
the integrate method, or the currentState method depending on which
current fire method is set.
|
void |
preinitialize()
Perform preinitialization checks on the actor.
|
_addFireMethod, getDefaultFireMethodName, getFireMethodNames, getMethodInputPortList, getMethodOutputPort, numFireMethods, setFireMethod_setValue, _setValue, checkForAttributes, checkForAttributes, getInitialVariable, getInitialVariableName, getModifiedVariable, getModifiedVariable, getSharedName, getVariable, getVariableName, setName_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 TypedIOPort callSetStateMethod
public TypedIOPort currentState
public TypedIOPort sampleFactor
public TypedIOPort sampleTime
public TypedIOPort setStateValue
public SequencedIntegrator(CompositeEntity container, java.lang.String name) throws IllegalActionException, NameDuplicationException
container - The model in which the new actor will be contained.name - The name of the new actorIllegalActionException - If the new actor cannot be created.NameDuplicationException - If there is already a NamedObj with
the same name in the container model.public void fire()
throws IllegalActionException
fire in interface Executablefire in class SequencedSharedMemoryActorIllegalActionException - If the fire method name is invalid.public void preinitialize()
throws IllegalActionException
preinitialize in interface Initializablepreinitialize in class SequencedSharedMemoryActorIllegalActionException - If the SequencedIntegrator actor's state variable is not a scalar type.protected Token _getDefaultValue() throws IllegalActionException
_getDefaultValue in class SequencedSharedMemoryActorIllegalActionException - Subclasses should throw an exception if
an explicit initial value is required.