public class ChicInvoker extends Attribute
NamedObj.ContainedObjectsIterator| Modifier and Type | Field and Description |
|---|---|
static int |
ASYNCHRONOUS_IO
Indicate use of the Asynchronous I/O compiler.
|
StringAttribute |
chicAttributeName
A StringAttribute representing the name of the ChicAttributes
that are to be queried while collecting the interfaces upon which
Chic is to be invoked.
|
static int |
SYNCHRONOUS_AG
Indicate use of the Synchronous A/G compiler.
|
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS| Constructor and Description |
|---|
ChicInvoker(NamedObj container,
java.lang.String name)
Construct an attribute with the specified container and name.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
_checkInterfaceCompatibility(CompositeActor model,
int compiler,
boolean silent,
java.lang.String name)
Check the interface compatibility of all entities that are directly
or indirectly contained by the model.
|
boolean |
checkInterfaceCompatibility(int compiler,
boolean silent)
Check the interface compatibility of all entities that are directly
or indirectly contained by the container of this attribute.
|
_checkContainer, _getContainedObject, _propagateExistence, clone, 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, attributeChanged, attributeDeleted, attributeList, attributeList, attributeTypeChanged, clone, containedObjectsIterator, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, 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, workspacepublic StringAttribute chicAttributeName
public static final int ASYNCHRONOUS_IO
public static final int SYNCHRONOUS_AG
public ChicInvoker(NamedObj container, java.lang.String name) throws IllegalActionException, NameDuplicationException
container - The container.name - The name of the attribute.IllegalActionException - If the factory is not of an
acceptable attribute for the container.NameDuplicationException - If the name coincides with
an attribute already in the container.public boolean checkInterfaceCompatibility(int compiler, boolean silent) throws IllegalActionException, NameDuplicationException
compiler - The compiler of Chic to use.silent - True if the interface compatibility checking is to be
carried out without invoking the user interface of Chic.IllegalActionException - If a port contained directly or
indirectly by the model has width greater than one or is
both an input and output port.NameDuplicationException - If the container of the attribute
or one of the contained entities already contains an attribute of
class other than ChicAttribute with the same name as the expression
of the InterfaceName.ASYNCHRONOUS_IO,
SYNCHRONOUS_AGprotected boolean _checkInterfaceCompatibility(CompositeActor model, int compiler, boolean silent, java.lang.String name) throws IllegalActionException, NameDuplicationException
model - The model to check interface compatibility.compiler - The compiler of Chic to use.silent - True if the interface compatibility checking is to be
carried out without invoking the user interface of Chic.name - The name of the ChicAttribute.IllegalActionException - If a port contained directly or
indirectly by the model has width greater than one or is
both an input and output port.NameDuplicationException - If the model or one of the
contained entities already contains an attribute of class other than
ChicAttribute with the same name as name.ASYNCHRONOUS_IO,
SYNCHRONOUS_AG