|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ptolemy.kernel.util.NamedObj ptolemy.codegen.kernel.CodeGeneratorHelper ptolemy.codegen.actor.TypedCompositeActor
public class TypedCompositeActor
Code generator helper for typed composite actor.
Red (zgang) |
Yellow (cxh) |
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ptolemy.codegen.kernel.CodeGeneratorHelper |
---|
CodeGeneratorHelper.Channel, CodeGeneratorHelper.VariableScope |
Nested classes/interfaces inherited from class ptolemy.kernel.util.NamedObj |
---|
NamedObj.ContainedObjectsIterator |
Field Summary |
---|
Fields inherited from class ptolemy.codegen.kernel.CodeGeneratorHelper |
---|
_codeGenerator, _codeStream, _eol, _INDENT1, _INDENT2, _parseTreeCodeGenerator, _portConversions, _referencedParameters |
Fields inherited from class ptolemy.kernel.util.NamedObj |
---|
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS |
Constructor Summary | |
---|---|
TypedCompositeActor(TypedCompositeActor component)
Construct the code generator helper associated with the given TypedCompositeActor. |
Method Summary | |
---|---|
protected java.lang.String |
_generateFireCode()
Generate the fire code. |
java.lang.String |
generateInitializeCode()
Generate the initialize code. |
java.lang.String |
generatePreinitializeCode()
Generate the preinitialize code. |
java.lang.String |
generateWrapupCode()
Generate the wrapup code. |
java.util.Set |
getSharedCode()
Generate the shared code. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TypedCompositeActor(TypedCompositeActor component)
component
- The associated component.Method Detail |
---|
protected java.lang.String _generateFireCode() throws IllegalActionException
CodeGeneratorHelper
_generateFireCode
in class CodeGeneratorHelper
IllegalActionException
- Not thrown in this base class.public java.lang.String generatePreinitializeCode() throws IllegalActionException
CodeGeneratorHelper
generatePreinitializeCode
in interface ActorCodeGenerator
generatePreinitializeCode
in class CodeGeneratorHelper
IllegalActionException
- Not thrown in this base class.public java.lang.String generateInitializeCode() throws IllegalActionException
CodeGeneratorHelper
generateInitializeCode
in interface ComponentCodeGenerator
generateInitializeCode
in class CodeGeneratorHelper
IllegalActionException
- If thrown while appending to the the
block or processing the macros.public java.lang.String generateWrapupCode() throws IllegalActionException
CodeGeneratorHelper
generateWrapupCode
in interface ComponentCodeGenerator
generateWrapupCode
in class CodeGeneratorHelper
IllegalActionException
- If thrown while appending to the the
block or processing the macros.public java.util.Set getSharedCode() throws IllegalActionException
CodeGeneratorHelper
getSharedCode
in interface ActorCodeGenerator
getSharedCode
in class CodeGeneratorHelper
IllegalActionException
- Not thrown in this base class.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |