INRIA & FluxMedia

fr.fluxmedia.transmorpher.engine
Class TProcessComposite

java.lang.Object
  extended by fr.fluxmedia.transmorpher.engine.TProcess_Impl
      extended by fr.fluxmedia.transmorpher.engine.TProcessComposite
All Implemented Interfaces:
TProcess
Direct Known Subclasses:
TApplyProcess, TLoop, TMain, TProcessComponent

public abstract class TProcessComposite
extends TProcess_Impl


Field Summary
protected  java.util.Vector listOfApplyProcess
          the TApplyProcess' list
protected  java.util.Hashtable listOfChannel
          the list of the TChannel of our TProcessComposite.
protected  java.util.Vector listOfGenerator
          the list of the Generator of our transmorpher.
protected  java.util.Vector listOfProcessBasic
          the list of the TProcessBasic (except the TApplyProcess) of our TProcessComposite.
protected  java.util.Hashtable listOfProcessIn
          the list of PortProcess In
protected  java.util.Hashtable listOfProcessOut
          the list of PortProcess Out
static int NB_PROCESS_RISE
          The max number of process in a composite
 
Fields inherited from class fr.fluxmedia.transmorpher.engine.TProcess_Impl
debug, id, iListIn, iListOfParameters, iListOut, iName, iNbIn, iNbOut, nameFather, nameIn, nameOut
 
Constructor Summary
TProcessComposite(java.lang.String[] pIn, java.lang.String[] pOut, Parameters p)
          The constructor : build a Composite process with pNbIn in Port, and pNbOut Out Port
 
Method Summary
 void addApplyProcess(TProcess process)
           
 void addChannel(TChannel channel)
           
 void addGenerator(TProcess generator)
           
 void addProcess(TProcess process)
           
 void bindParameters(Parameters p)
          bind the parameters of the process to the runtime parameters
 void bindPorts()
           
 void bindPorts(TProcess process)
           
 void execProcess(boolean useThread)
          Call the execution of the process
 void generatePort()
           
 java.util.Vector getAllProcess()
           
 java.util.Vector getApplyProcess()
           
 TChannel getChannel(java.lang.String name)
           
 java.util.Vector getGenerator()
           
 java.util.Hashtable getListOfProcessIn()
           
 java.util.Hashtable getListOfProcessOut()
           
 java.util.Vector getProcessBasic()
           
 void showChannel()
           
 
Methods inherited from class fr.fluxmedia.transmorpher.engine.TProcess_Impl
getFatherName, getId, getIn, getIn, getIn, getName, getNameIn, getNameIn, getNameOut, getNameOut, getOut, getOut, getOut, getParameter, getParameterNames, getParameters, reset, setDebug, setFatherName, setId, setIn, setName, setOut, setParameter, setParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NB_PROCESS_RISE

public static int NB_PROCESS_RISE
The max number of process in a composite


listOfProcessBasic

protected java.util.Vector listOfProcessBasic
the list of the TProcessBasic (except the TApplyProcess) of our TProcessComposite. May contain no element.


listOfChannel

protected java.util.Hashtable listOfChannel
the list of the TChannel of our TProcessComposite. May contain no element.


listOfGenerator

protected java.util.Vector listOfGenerator
the list of the Generator of our transmorpher. May contain no element.


listOfProcessIn

protected java.util.Hashtable listOfProcessIn
the list of PortProcess In


listOfProcessOut

protected java.util.Hashtable listOfProcessOut
the list of PortProcess Out


listOfApplyProcess

protected java.util.Vector listOfApplyProcess
the TApplyProcess' list

Constructor Detail

TProcessComposite

public TProcessComposite(java.lang.String[] pIn,
                         java.lang.String[] pOut,
                         Parameters p)
                  throws javax.xml.transform.TransformerException,
                         javax.xml.transform.TransformerConfigurationException,
                         org.xml.sax.SAXException,
                         java.io.IOException
The constructor : build a Composite process with pNbIn in Port, and pNbOut Out Port

Throws:
javax.xml.transform.TransformerException
javax.xml.transform.TransformerConfigurationException
org.xml.sax.SAXException
java.io.IOException
Method Detail

addChannel

public void addChannel(TChannel channel)

getChannel

public TChannel getChannel(java.lang.String name)

addGenerator

public void addGenerator(TProcess generator)

getGenerator

public java.util.Vector getGenerator()

getListOfProcessIn

public java.util.Hashtable getListOfProcessIn()

getListOfProcessOut

public java.util.Hashtable getListOfProcessOut()

addApplyProcess

public void addApplyProcess(TProcess process)

addProcess

public void addProcess(TProcess process)

getApplyProcess

public java.util.Vector getApplyProcess()

getProcessBasic

public java.util.Vector getProcessBasic()

getAllProcess

public java.util.Vector getAllProcess()

bindParameters

public final void bindParameters(Parameters p)
                          throws TMRuntimeException,
                                 TMException,
                                 org.xml.sax.SAXException
Description copied from interface: TProcess
bind the parameters of the process to the runtime parameters

Specified by:
bindParameters in interface TProcess
Overrides:
bindParameters in class TProcess_Impl
Throws:
TMRuntimeException
TMException
org.xml.sax.SAXException

bindPorts

public final void bindPorts()
                     throws TMRuntimeException,
                            TMException,
                            org.xml.sax.SAXException
Throws:
TMRuntimeException
TMException
org.xml.sax.SAXException

bindPorts

public void bindPorts(TProcess process)
               throws TMRuntimeException,
                      TMException,
                      org.xml.sax.SAXException
Throws:
TMRuntimeException
TMException
org.xml.sax.SAXException

execProcess

public final void execProcess(boolean useThread)
                       throws org.xml.sax.SAXException,
                              java.io.IOException,
                              TMRuntimeException
Call the execution of the process

Throws:
org.xml.sax.SAXException
java.io.IOException
TMRuntimeException

showChannel

public void showChannel()

generatePort

public void generatePort()
Specified by:
generatePort in interface TProcess
Specified by:
generatePort in class TProcess_Impl

INRIA & FluxMedia

..no bottom yet...