fr.fluxmedia.transmorpher.Graph
Class Process
java.lang.Object
|
+--fr.fluxmedia.transmorpher.Graph.TransformationImpl
|
+--fr.fluxmedia.transmorpher.Graph.Process
- All Implemented Interfaces:
- Transformation
- Direct Known Subclasses:
- Main, RepeatProcess, Servlet, Transformer
- public class Process
- extends TransformationImpl
Methods inherited from class fr.fluxmedia.transmorpher.Graph.TransformationImpl |
addIn, addOut, getAttributes, getName, getParameters, getTransmorpher, getType, inPorts, outPorts, setName, setParameters, setType |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
calls
LinearIndexedStruct calls
channels
Hashtable channels
Process
public Process(String n,
Transmorpher t,
int nin,
int nout)
addCall
public void addCall(Call c)
deleteCallsTo
public void deleteCallsTo(Transformation t)
- Delete all the calls to a particular transformation
removeCall
public void removeCall(Call c)
- Delete a call (and the channels connected to this call)
removeChannel
public void removeChannel(Channel c)
- Delete a channel
getCalls
public LinearIndexedStruct getCalls()
getCall
public Call getCall(String c)
addChannel
public void addChannel(Channel c)
getChannels
public Enumeration getChannels()
getChannel
public Channel getChannel(String c)
retroNull
public void retroNull(PortList out,
PortList in)
- Description copied from class:
TransformationImpl
- This is the trivial case if all the output is null then all the input are null
- Overrides:
retroNull
in class TransformationImpl
retroNull
public boolean retroNull(PortList out,
PortList in,
boolean b)
retroNull
public void retroNull()
clearNull
public void clearNull()
clearVisited
public void clearVisited()
XMLName
private String XMLName()
generateXML
public void generateXML()
- Prints the XML expression of the process
- Overrides:
generateXML
in class TransformationImpl
generateJavaCode
public void generateJavaCode(ReadWrite file)
- Prints the Java code for the execution of the call
- Overrides:
generateJavaCode
in class TransformationImpl
setUp
public void setUp()
exec
public void exec()
- Description copied from class:
TransformationImpl
- Run a particular transformation (maybe useless)
- Overrides:
exec
in class TransformationImpl
..no bottom yet...