public class ThrottleAttributes extends DecoratorAttributes
PtidesDirector
. Local sources in Ptides can produce an infinite
number of future events. Whether this can happen depends on the execution
strategy implemented in the Ptides director. Note that in a DE composite,
all events are produced in time-stamp order. In Ptides we do not have
this restriction; events can be produced out of timestamp order as long
as the event is safe to process. Local sources are triggered by pure
events produced during a firing of a local source. Such a pure event is
always safe to process.
The attributes provided by this decorator are used to throttle the
production of events by local sources in Ptides.
NamedObj.ContainedObjectsIterator
Modifier and Type | Field and Description |
---|---|
Parameter |
maximumFutureEvents
The maximumFutureEvents parameter specifies the maximum number
of events produced by the decorated actor that can be present
in the event queue at a time.
|
Parameter |
maximumLookaheadTime
The maximumLookaheadTime parameter is the time added to the current
platform time during which the decorated actor can safely be fired.
|
Parameter |
useMaximumFutureEvents
This parameter specifies that the parameter maximumFutureEvents
should be used to throttle the decorated actor.
|
Parameter |
useMaximumLookaheadTime
This parameter specifies that the parameter maximumFutureFiringTime
should be used to throttle the decorated actor.
|
_decorator, decoratorName
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Constructor and Description |
---|
ThrottleAttributes(NamedObj target,
PtidesDirector decorator)
Constructor to use when editing a model.
|
ThrottleAttributes(java.lang.Object target,
java.lang.String name)
Constructor to use when parsing a MoML file.
|
attributeChanged, clone, exportMoML, getDecorator
_checkContainer, _getContainedObject, _propagateExistence, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setContainer, setName, updateContent
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _containedDecorators, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _description, _executeChangeRequests, _exportMoMLContents, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, _validateSettables, addChangeListener, addDebugListener, addHierarchyListener, attributeDeleted, attributeList, attributeList, attributeTypeChanged, clone, containedObjectsIterator, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttribute, getAttributes, getChangeListeners, getClassName, getDecoratorAttribute, getDecoratorAttributes, getDerivedLevel, getDerivedList, getDisplayName, getElementName, getFullName, getModelErrorHandler, getName, getName, getPrototypeList, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, lazyContainedObjectsIterator, message, notifyOfNameChange, propagateExistence, propagateValue, propagateValues, removeAttribute, removeChangeListener, removeDebugListener, removeHierarchyListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, toString, uniqueName, validateSettables, workspace
public Parameter useMaximumLookaheadTime
public Parameter maximumLookaheadTime
public Parameter useMaximumFutureEvents
public Parameter maximumFutureEvents
public ThrottleAttributes(NamedObj target, PtidesDirector decorator) throws IllegalActionException, NameDuplicationException
target
- The object being decorated.decorator
- The decorator.IllegalActionException
- If the superclass throws it.NameDuplicationException
- If the superclass throws it.public ThrottleAttributes(java.lang.Object target, java.lang.String name) throws IllegalActionException, NameDuplicationException
target
- The object being decorated.name
- The name of this attribute.IllegalActionException
- If the superclass throws it.NameDuplicationException
- If the superclass throws it.