fr.fluxmedia.transmorpher.graph
Class RepeatProcess
java.lang.Object
|
+--java.util.Observable
|
+--fr.fluxmedia.transmorpher.graph.TransformationImpl
|
+--fr.fluxmedia.transmorpher.graph.Process
|
+--fr.fluxmedia.transmorpher.graph.RepeatProcess
- All Implemented Interfaces:
- Transformation
- public class RepeatProcess
- extends Process
Transmorpher graph repeat process definitions
- Since:
- jdk 1.3 / SAX 2.0
- Author:
- Jerome.Euzenat@inrialpes.fr
Fields inherited from class java.util.Observable |
changed, obs |
Constructor Summary |
RepeatProcess(java.lang.String name,
Repeat repeat,
int nbIn,
int nbOut,
int nbBuf)
Constructor for the RepeatProcess object |
Methods inherited from class fr.fluxmedia.transmorpher.graph.Process |
addCall, addChannel, clearNull, clearVisited, deleteCallsTo, generateJavaCode, getAllChannels, getCall, getCalls, getChannel, getChannels, removeCall, removeCallAndPorts, removeChannel, removeChannelAndPorts, retroNull, retroNull, retroNull, XMLName |
Methods inherited from class fr.fluxmedia.transmorpher.graph.TransformationImpl |
addIn, addIn, addOut, addOut, getAttributes, getName, getParameters, getType, inPorts, outPorts, setName, setParameters, setType, update |
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
caller
protected Repeat caller
- The repeat call
buf
protected PortList buf
- The list of buffered ports
RepeatProcess
public RepeatProcess(java.lang.String name,
Repeat repeat,
int nbIn,
int nbOut,
int nbBuf)
- Constructor for the RepeatProcess object
- Parameters:
name
- The name of the Repeat Process to createrepeat
- The Repeat Call insatnce corresponding to this RepeatProcessnbIn
- The number of In portsnbOut
- The number of Out portsnbBuf
- The number of buffered ports
bufPorts
public PortList bufPorts()
- Returns buf list
- Returns:
- Description of the Return Value
generateXML
public void generateXML()
- Prints the XML expression of the process
- Overrides:
generateXML
in class Process
generateJavaCode
public void generateJavaCode(Writer file)
- Prints the Java code for the execution of the call
- Parameters:
file
- Description of the Parameter
setUp
public void setUp()
- Overrides:
setUp
in class Process
getCaller
public Repeat getCaller()
- Gets the caller attribute of the RepeatProcess object
- Returns:
- The caller value
getTransmorpher
public Transmorpher getTransmorpher()
- This implementation takes into account the fact that
this particular process body is imbedded into a Call.
This works recursively since that call can be embedded
in the same way and then will use the same kind of getTransmorpher.
- Overrides:
getTransmorpher
in class TransformationImpl
- Returns:
- The transmorpher value
..no bottom yet...