Package ptolemy.domains.de.lib.aspect
Class AFDXESs.AFDXESsAttributes
- java.lang.Object
-
- ptolemy.kernel.util.NamedObj
-
- ptolemy.kernel.util.Attribute
-
- ptolemy.kernel.util.DecoratorAttributes
-
- ptolemy.actor.ExecutionAttributes
-
- ptolemy.actor.CommunicationAspectAttributes
-
- ptolemy.domains.de.lib.aspect.AFDXESs.AFDXESsAttributes
-
- All Implemented Interfaces:
java.lang.Cloneable
,Changeable
,Debuggable
,DebugListener
,Derivable
,ModelErrorHandler
,MoMLExportable
,Moveable
,Nameable
- Enclosing class:
- AFDXESs
public static class AFDXESs.AFDXESsAttributes extends CommunicationAspectAttributes
The attributes configured per port which is mediated by a AFDXESs. XXX- Author:
- Gilles Lasnier, Based on BasiSwitch.java by Patricia Derler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ptolemy.kernel.util.NamedObj
NamedObj.ContainedObjectsIterator
-
-
Field Summary
Fields Modifier and Type Field Description Parameter
bag
The value of the bag.Parameter
frameSize
The frame size.Parameter
schedulerMultiplexorName
The name of the scheduler multiplexor.Parameter
vlinkName
The name of the virtual link object.-
Fields inherited from class ptolemy.actor.CommunicationAspectAttributes
sequenceNumber
-
Fields inherited from class ptolemy.actor.ExecutionAttributes
enable
-
Fields inherited from class ptolemy.kernel.util.DecoratorAttributes
_decorator, decoratorName
-
Fields inherited from class ptolemy.kernel.util.NamedObj
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
-
-
Constructor Summary
Constructors Constructor Description AFDXESsAttributes(NamedObj container, java.lang.String name)
Constructor to use when parsing a MoML file.AFDXESsAttributes(NamedObj container, Decorator decorator)
Constructor to use when editing a model.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attributeChanged(Attribute attribute)
If attribute is portIn or portOut, report the new values to the communication aspect.-
Methods inherited from class ptolemy.actor.ExecutionAttributes
enabled
-
Methods inherited from class ptolemy.kernel.util.DecoratorAttributes
clone, exportMoML, getDecorator
-
Methods inherited from class ptolemy.kernel.util.Attribute
_checkContainer, _getContainedObject, _propagateExistence, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setContainer, setName, updateContent
-
Methods inherited from class ptolemy.kernel.util.NamedObj
_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
-
-
-
-
Field Detail
-
vlinkName
public Parameter vlinkName
The name of the virtual link object. This defaults to an empty string.
-
bag
public Parameter bag
The value of the bag. This defaults to the double value 0.0
-
frameSize
public Parameter frameSize
The frame size. This defaults to the integer 0.
-
schedulerMultiplexorName
public Parameter schedulerMultiplexorName
The name of the scheduler multiplexor. This defaults to an empty string.
-
-
Constructor Detail
-
AFDXESsAttributes
public AFDXESsAttributes(NamedObj container, Decorator decorator) throws IllegalActionException, NameDuplicationException
Constructor to use when editing a model.- Parameters:
container
- The object being decorated.decorator
- The decorator.- Throws:
IllegalActionException
- If the superclass throws it.NameDuplicationException
- If the superclass throws it.
-
AFDXESsAttributes
public AFDXESsAttributes(NamedObj container, java.lang.String name) throws IllegalActionException, NameDuplicationException
Constructor to use when parsing a MoML file.- Parameters:
container
- The object being decorated.name
- The name of this attribute.- Throws:
IllegalActionException
- If the superclass throws it.NameDuplicationException
- If the superclass throws it.
-
-
Method Detail
-
attributeChanged
public void attributeChanged(Attribute attribute) throws IllegalActionException
If attribute is portIn or portOut, report the new values to the communication aspect.- Overrides:
attributeChanged
in classCommunicationAspectAttributes
- Parameters:
attribute
- The changed parameter.- Throws:
IllegalActionException
- If the parameter set is not valid. Not thrown in this class.
-
-