|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.kernel.util.NamedObj
ptolemy.codegen.kernel.CodeGeneratorHelper
ptolemy.codegen.actor.Director
ptolemy.codegen.java.domains.modal.kernel.FSMDirector
public class FSMDirector
Code generator helper class associated with the FSMDirector class.
Red (zgang) |
Red (zgang) |
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.actor.Director |
---|
_director, _eol, _INDENT1, _INDENT2, _INDENT3, _INDENT4 |
Fields inherited from class ptolemy.codegen.kernel.CodeGeneratorHelper |
---|
_codeGenerator, _codeStream, _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 | |
---|---|
FSMDirector(FSMDirector director)
Construct the code generator helper associated with the given FSMDirector. |
Method Summary | |
---|---|
protected void |
_generateRefinementCode(java.lang.StringBuffer code)
Generate code for the firing of refinements. |
java.lang.String |
generateFireCode()
Generate the code for the firing of actors controlled by this director. |
java.lang.String |
generateFireFunctionCode()
Generate The fire function code. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FSMDirector(FSMDirector director)
director
- The associated ptolemy.domains.modal.kernel.FSMDirectorMethod Detail |
---|
public java.lang.String generateFireCode() throws IllegalActionException
generateFireCode
in interface ActorCodeGenerator
generateFireCode
in class Director
IllegalActionException
- If the helper associated with
an actor throws it while generating fire code for the actor.protected void _generateRefinementCode(java.lang.StringBuffer code) throws IllegalActionException
code
- The string buffer that the generated code is appended to.
IllegalActionException
- If the helper associated with
an actor throws it while generating fire code for the actor.public java.lang.String generateFireFunctionCode() throws IllegalActionException
generateFireFunctionCode
in interface ActorCodeGenerator
generateFireFunctionCode
in class Director
IllegalActionException
- If thrown while generating fire code.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |