|
|||||||||
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.rtmaude.kernel.RTMaudeAdaptor
ptolemy.codegen.rtmaude.actor.IORelation
public class IORelation
Generate RTMaude code for an IORelationt in DE domain.
IORelation
,
Serialized Form
red (kquine) |
red (kquine) |
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.rtmaude.kernel.RTMaudeAdaptor |
---|
defaultTermBlock |
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 | |
---|---|
IORelation(IORelation component)
Construct the code generator helper associated with the given IORelation. |
Method Summary | |
---|---|
private java.lang.String |
generateActorIdforPort(NamedObj container,
IOPort port)
Returns the name of the container of the given port in the RTMaude term representation. |
private java.lang.String |
generateEPortId(NamedObj container,
IOPort port)
Returns the RTMaude representation of the given port name. |
java.lang.String |
generateTermCode()
Generate a Real-time Maude term representation of given component. |
Methods inherited from class ptolemy.codegen.rtmaude.kernel.RTMaudeAdaptor |
---|
_generateBlockCode, _generateTypeConvertMethod, _replaceMacro, generateEntryCode, generateExitCode, generateFireCode, generateFireFunctionCode, getBlockCodeList, getInfo, getModuleCode, getParseTreeCodeGenerator, getRTMmodule, getSharedCode, getTranslatedExpression |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IORelation(IORelation component)
component
- The associated component.Method Detail |
---|
public java.lang.String generateTermCode() throws IllegalActionException
RTMaudeAdaptor
generateTermCode
in class RTMaudeAdaptor
IllegalActionException
private java.lang.String generateEPortId(NamedObj container, IOPort port) throws IllegalActionException
container
- The object containing the given portport
- The associated port
IllegalActionException
private java.lang.String generateActorIdforPort(NamedObj container, IOPort port)
container
- The object containing the given portport
- The associated port
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |