|
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.TransformationImpl
fr.fluxmedia.transmorpher.graph.Process
public class Process
Transmorpher graph processes definitions.
Field Summary | |
---|---|
protected LinearIndexedStruct |
calls
The storage object for the calls of this Process instance |
protected java.util.Hashtable |
channels
The storage object for the channels of this Process instance |
Fields inherited from class fr.fluxmedia.transmorpher.graph.TransformationImpl |
---|
attributes, inPorts, name, outPorts, parameters, transmorpher, type |
Constructor Summary | |
---|---|
Process(java.lang.String name,
Transmorpher owner)
Creates an instance of Process |
|
Process(java.lang.String name,
Transmorpher owner,
int nbIn,
int nbOut)
Constructor for the Process object |
Method Summary | |
---|---|
void |
addCall(Call call)
Adds a Call instance in this Process |
void |
addChannel(Channel channel)
Adds a channel to this process |
void |
clearNull()
Description of the Method |
void |
clearVisited()
Description of the Method |
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 file,
LinearIndexedStruct externs)
Prints a java code description of this process instance |
void |
generateXML()
Prints the XML expression of the process |
java.util.Hashtable |
getAllChannels()
Gets the all channels of the Process object |
Call |
getCall(java.lang.String name)
Gets the call attribute of the Process object |
LinearIndexedStruct |
getCalls()
Gets the calls attribute of the Process object |
Channel |
getChannel(java.lang.String name)
Gets the channel of this Process object cooresponding to the given name |
java.util.Enumeration |
getChannels()
Gets an enumeration of the channels of this Process object |
void |
removeCall(Call call)
Removes a call from this Process |
void |
removeCallAndPorts(Call c)
Delete a call (and the channels connected to this call) |
void |
removeChannel(Channel channel)
Remove a channel |
void |
removeChannelAndPorts(Channel c)
Delete a channel and Port associated. |
void |
retroNull()
Description of the Method |
void |
retroNull(PortList out,
PortList in)
Description of the Method |
boolean |
retroNull(PortList out,
PortList in,
boolean b)
Description of the Method |
void |
setUp()
|
private java.lang.String |
XMLName()
Description of the Method |
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, toString, wait, wait, wait |
Field Detail |
---|
protected LinearIndexedStruct calls
protected java.util.Hashtable channels
Constructor Detail |
---|
public Process(java.lang.String name, Transmorpher owner)
name
- The name of this instanceowner
- The Transmorpher instance that owns this instancepublic Process(java.lang.String name, Transmorpher owner, int nbIn, int nbOut)
name
- The name of this instanceowner
- The Transmorpher instance that owns this instancenbIn
- The number of in ports of this instancenbOut
- The number of out ports of this instanceMethod Detail |
---|
public void addCall(Call call)
call
- The call to addpublic void removeCall(Call call)
call
- The call instance to removepublic void deleteCallsTo(java.lang.String name)
name
- The name of the transformation instance to removepublic void removeCallAndPorts(Call c)
c
- Description of the Parameterpublic void removeChannelAndPorts(Channel c)
c
- Description of the Parameterpublic LinearIndexedStruct getCalls()
public Call getCall(java.lang.String name)
name
- The name of the call required
public void addChannel(Channel channel)
channel
- The channel to addpublic java.util.Enumeration getChannels()
public java.util.Hashtable getAllChannels()
public Channel getChannel(java.lang.String name)
name
- The name of the channel
public void removeChannel(Channel channel)
channel
- The channel to removepublic void retroNull(PortList out, PortList in)
retroNull
in interface Transformation
retroNull
in class TransformationImpl
out
- Description of the Parameterin
- Description of the Parameterpublic boolean retroNull(PortList out, PortList in, boolean b)
out
- Description of the Parameterin
- Description of the Parameterb
- Description of the Parameter
public void retroNull()
public void clearNull()
public void clearVisited()
private java.lang.String XMLName()
public void generateXML()
generateXML
in interface Transformation
generateXML
in class TransformationImpl
public void setUp()
public void generateJavaCode(Writer file, LinearIndexedStruct externs) throws java.io.IOException
generateJavaCode
in interface Transformation
generateJavaCode
in class TransformationImpl
file
- The write used for printing in a fileexterns
- Description of the Parameter
java.io.IOException
- when IO errors occur.
|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |