INRIA & FluxMedia

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


Field Summary
private  PortList buf
           
private  Repeat caller
           
 
Fields inherited from class fr.fluxmedia.transmorpher.Graph.Process
calls, channels
 
Fields inherited from class fr.fluxmedia.transmorpher.Graph.TransformationImpl
iAttributes, inPorts, name, outPorts, parameters, transmorpher, type
 
Fields inherited from class java.util.Observable
changed, obs
 
Constructor Summary
RepeatProcess(java.lang.String n, Repeat r, int nin, int nout, int nbuf)
           
 
Method Summary
 PortList bufPorts()
          Returns buf list
 void exec()
           
 void generateJavaCode(ReadWrite file)
          Prints the Java code for the execution of the call
 void generateXML()
          Prints the XML expression of the process
 Repeat getCaller()
           
 Transmorpher getTransmorpher()
          This implementation takes into account the fact that this particular process body is imbedded into a Call.
 void setUp()
           
 
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
 

Field Detail

caller

private Repeat caller

buf

private PortList buf
Constructor Detail

RepeatProcess

public RepeatProcess(java.lang.String n,
                     Repeat r,
                     int nin,
                     int nout,
                     int nbuf)
Method Detail

bufPorts

public PortList bufPorts()
Returns buf list

generateXML

public void generateXML()
Prints the XML expression of the process
Overrides:
generateXML in class Process

generateJavaCode

public void generateJavaCode(ReadWrite file)
Prints the Java code for the execution of the call

setUp

public void setUp()
Overrides:
setUp in class Process

getCaller

public Repeat getCaller()

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

exec

public void exec()

INRIA & FluxMedia

..no bottom yet...