INRIA & FluxMedia

fr.fluxmedia.transmorpher.graph
Class Process

java.lang.Object
  |
  +--java.util.Observable
        |
        +--fr.fluxmedia.transmorpher.graph.TransformationImpl
              |
              +--fr.fluxmedia.transmorpher.graph.Process
All Implemented Interfaces:
Transformation
Direct Known Subclasses:
MainProcess, RepeatProcess

public class Process
extends TransformationImpl


Field Summary
(package private)  LinearIndexedStruct calls
           
(package private)  java.util.Hashtable 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
Process(java.lang.String n, Transmorpher t)
           
Process(java.lang.String n, Transmorpher t, int nin, int nout)
           
 
Method Summary
 void addCall(Call c)
           
 void addChannel(Channel c)
           
 void clearNull()
           
 void clearVisited()
           
 void deleteCallsTo(java.lang.String name)
          Delete all the calls to a particular transformation name is the name of a transformation (local or imported) to be suppressed.
 void generateJavaCode(Writer iFile, LinearIndexedStruct externs)
          Prints the Java code for the execution of the call
 void generateXML()
          Prints the XML expression of the process
 java.util.Hashtable getAllChannels()
           
 Call getCall(java.lang.String c)
           
 LinearIndexedStruct getCalls()
           
 Channel getChannel(java.lang.String c)
           
 java.util.Enumeration getChannels()
           
 void removeCall(Call c)
           
 void removeCallAndPorts(Call c)
          Delete a call (and the channels connected to this call)
 void removeChannel(Channel c)
          Remove a channel but no the ports.
 void removeChannelAndPorts(Channel c)
          Delete a channel and Port associated.
 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  java.lang.String XMLName()
           
 
Methods inherited from class fr.fluxmedia.transmorpher.graph.TransformationImpl
addIn, addIn, addOut, addOut, getAttributes, getName, getParameters, getTransmorpher, 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

calls

LinearIndexedStruct calls

channels

java.util.Hashtable channels
Constructor Detail

Process

public Process(java.lang.String n,
               Transmorpher t)

Process

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

addCall

public void addCall(Call c)

removeCall

public void removeCall(Call c)

deleteCallsTo

public void deleteCallsTo(java.lang.String name)
Delete all the calls to a particular transformation name is the name of a transformation (local or imported) to be suppressed.

removeCallAndPorts

public void removeCallAndPorts(Call c)
Delete a call (and the channels connected to this call)

removeChannelAndPorts

public void removeChannelAndPorts(Channel c)
Delete a channel and Port associated.

getCalls

public LinearIndexedStruct getCalls()

getCall

public Call getCall(java.lang.String c)

addChannel

public void addChannel(Channel c)

getChannels

public java.util.Enumeration getChannels()

getAllChannels

public java.util.Hashtable getAllChannels()

getChannel

public Channel getChannel(java.lang.String c)

removeChannel

public void removeChannel(Channel c)
Remove a channel but no the ports.

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 java.lang.String XMLName()

generateXML

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

setUp

public void setUp()

generateJavaCode

public void generateJavaCode(Writer iFile,
                             LinearIndexedStruct externs)
                      throws java.io.IOException
Description copied from class: TransformationImpl
Prints the Java code for the execution of the call
Overrides:
generateJavaCode in class TransformationImpl

INRIA & FluxMedia

..no bottom yet...