INRIA & FluxMedia

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


Field Summary
(package private)  LinearIndexedStruct calls
           
(package private)  Hashtable channels
           
 
Fields inherited from class fr.fluxmedia.transmorpher.Graph.TransformationImpl
iAttributes, inPorts, name, outPorts, parameters, transmorpher, type
 
Constructor Summary
Process(String n, Transmorpher t, int nin, int nout)
           
 
Method Summary
 void addCall(Call c)
           
 void addChannel(Channel c)
           
 void clearNull()
           
 void clearVisited()
           
 void deleteCallsTo(Transformation t)
          Delete all the calls to a particular transformation
 void exec()
          Run a particular transformation (maybe useless)
 void generateJavaCode(ReadWrite file)
          Prints the Java code for the execution of the call
 void generateXML()
          Prints the XML expression of the process
 Call getCall(String c)
           
 LinearIndexedStruct getCalls()
           
 Channel getChannel(String c)
           
 Enumeration getChannels()
           
 void removeCall(Call c)
          Delete a call (and the channels connected to this call)
 void removeChannel(Channel c)
          Delete a channel
 void retroNull()
           
 void retroNull(PortList out, PortList in)
          This is the trivial case if all the output is null then all the input are null
 boolean retroNull(PortList out, PortList in, boolean b)
           
 void setUp()
           
private  String XMLName()
           
 
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
 

Field Detail

calls

LinearIndexedStruct calls

channels

Hashtable channels
Constructor Detail

Process

public Process(String n,
               Transmorpher t,
               int nin,
               int nout)
Method Detail

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

INRIA & FluxMedia

..no bottom yet...