|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
fr.fluxmedia.transmorpher.graph.CallImpl
fr.fluxmedia.transmorpher.graph.Repeat
public class Repeat
Transmorpher graph repeat node
Field Summary | |
---|---|
(package private) LinearIndexedStruct |
iterators
The iterators changing the parameters |
protected RepeatProcess |
process
The process body of the repeat is made of a process |
Fields inherited from class fr.fluxmedia.transmorpher.graph.CallImpl |
---|
attributes, id, inPorts, nullified, outPorts, parameters, visited |
Constructor Summary | |
---|---|
Repeat(java.lang.String name,
Process owner,
int nbIn,
int nbOut,
int nbBuf)
The constructor. |
Method Summary | |
---|---|
void |
addIterator(Iterator iterator)
Adds an iterator to this repeat. |
void |
clearNull()
Description of the Method |
void |
clearVisited()
Description of the Method |
void |
createProcess(TProcessComposite currentProcess)
Creates the execution structure of a repeat and adds it to the current composite process. |
void |
generateJavaCode(Writer file)
Prints the Java code for the execution of the call. |
void |
generatePorts(Writer file)
Description of the Method |
void |
generateXML()
Prints the XML expression of the call |
Iterator |
getIterator(java.lang.String s)
Returns the iterator corresponding to the name s. |
RepeatProcess |
getProcessBody()
Returns the repeat process linked with this call. |
PortList |
inBuf()
Returns the list of buffering ports. |
PortList |
outBuf()
Description of the Method |
void |
retroNull(PortList out,
PortList in)
Description of the Method |
Methods inherited from class fr.fluxmedia.transmorpher.graph.CallImpl |
---|
addIn, addIn, addOut, addOut, generateParameters, getAttributes, getId, getParameters, getProcess, getType, inPorts, newProcess, outPorts, retroNull, setId, setParameters, setType, setUp, toString, 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, wait, wait, wait |
Field Detail |
---|
protected RepeatProcess process
LinearIndexedStruct iterators
Constructor Detail |
---|
public Repeat(java.lang.String name, Process owner, int nbIn, int nbOut, int nbBuf)
name
- The name of the instance to createowner
- The Process that owns this instancenbIn
- The number of in portsnbOut
- The number of out portsnbBuf
- The number of buffered portsMethod Detail |
---|
public void addIterator(Iterator iterator)
iterator
- - iterator to addpublic Iterator getIterator(java.lang.String s)
s
- - name of an iterator to search for.
public RepeatProcess getProcessBody()
public PortList inBuf()
public PortList outBuf()
public void clearNull()
clearNull
in interface Call
clearNull
in class CallImpl
public void clearVisited()
clearVisited
in interface Call
clearVisited
in class CallImpl
public void retroNull(PortList out, PortList in)
out
- Description of the Parameterin
- Description of the Parameterpublic void generateXML()
generateXML
in interface Call
generateXML
in class CallImpl
public void generateJavaCode(Writer file) throws java.io.IOException
generateJavaCode
in interface Call
generateJavaCode
in class CallImpl
file
- - the file to write in
java.io.IOException
- Description of the Exceptionpublic void generatePorts(Writer file) throws java.io.IOException
generatePorts
in class CallImpl
file
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic final void createProcess(TProcessComposite currentProcess)
createProcess
in interface Call
createProcess
in class CallImpl
currentProcess
- - execution structure is added to this process.
|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |