Class TypedCompositeActor
- java.lang.Object
-
- ptolemy.kernel.util.NamedObj
-
- ptolemy.cg.kernel.generic.CodeGeneratorAdapter
-
- ptolemy.cg.kernel.generic.test.actor.TypedCompositeActor
-
- All Implemented Interfaces:
java.lang.Cloneable
,Changeable
,Debuggable
,DebugListener
,Derivable
,ModelErrorHandler
,MoMLExportable
,Moveable
,Nameable
public class TypedCompositeActor extends CodeGeneratorAdapter
Test class for codegen.kernel.ActorCodeGenerator.- Since:
- Ptolemy II 10.0
- Version:
- $Id$
- Author:
- Christopher Brooks
- Pt.AcceptedRating:
- Red (cxh)
- Pt.ProposedRating:
- Red (cxh)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ptolemy.kernel.util.NamedObj
NamedObj.ContainedObjectsIterator
-
-
Field Summary
-
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 TypedCompositeActor(TypedCompositeActor component)
Construct the code generator adapter associated with the given TypedCompositeActor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenericCodeGenerator
getCodeGenerator()
Get the code generator associated with this adapter class.NamedObj
getComponent()
Get the component associated with this adapter.void
setCodeGenerator(GenericCodeGenerator codeGenerator)
Set the code generator associated with this adapter class.-
Methods inherited from class ptolemy.cg.kernel.generic.CodeGeneratorAdapter
createDecoratorAttributes, generateName
-
Methods inherited from class ptolemy.kernel.util.NamedObj
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _containedDecorators, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _description, _executeChangeRequests, _exportMoMLContents, _getContainedObject, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _propagateExistence, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, _validateSettables, addChangeListener, addDebugListener, addHierarchyListener, attributeChanged, attributeDeleted, attributeList, attributeList, attributeTypeChanged, clone, clone, containedObjectsIterator, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttribute, getAttributes, getChangeListeners, getClassName, getContainer, getDecoratorAttribute, getDecoratorAttributes, getDerivedLevel, getDerivedList, getDisplayName, getElementName, getFullName, getModelErrorHandler, getName, getName, getPrototypeList, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, lazyContainedObjectsIterator, message, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, notifyOfNameChange, propagateExistence, propagateValue, propagateValues, removeAttribute, removeChangeListener, removeDebugListener, removeHierarchyListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setName, setPersistent, setSource, sortContainedObjects, toplevel, toString, uniqueName, validateSettables, workspace
-
-
-
-
Constructor Detail
-
TypedCompositeActor
public TypedCompositeActor(TypedCompositeActor component)
Construct the code generator adapter associated with the given TypedCompositeActor.- Parameters:
component
- The associated component.
-
-
Method Detail
-
getCodeGenerator
public GenericCodeGenerator getCodeGenerator()
Get the code generator associated with this adapter class.- Specified by:
getCodeGenerator
in classCodeGeneratorAdapter
- Returns:
- The code generator associated with this adapter class.
- See Also:
setCodeGenerator(GenericCodeGenerator)
-
getComponent
public NamedObj getComponent()
Get the component associated with this adapter.- Returns:
- The associated component.
-
setCodeGenerator
public void setCodeGenerator(GenericCodeGenerator codeGenerator)
Set the code generator associated with this adapter class.- Specified by:
setCodeGenerator
in classCodeGeneratorAdapter
- Parameters:
codeGenerator
- The code generator associated with this adapter class.- See Also:
getCodeGenerator()
-
-