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
Fields inherited from class java.util.Observable |
changed, obs |
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 |
calls
LinearIndexedStruct calls
channels
java.util.Hashtable channels
Process
public Process(java.lang.String n,
Transmorpher t)
Process
public Process(java.lang.String n,
Transmorpher t,
int nin,
int nout)
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(ReadWrite iFile,
LinearIndexedStruct externs)
- Description copied from class:
TransformationImpl
- Prints the Java code for the execution of the call
- Overrides:
generateJavaCode
in class TransformationImpl
..no bottom yet...