|
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
fr.fluxmedia.transmorpher.graph.MainProcess
fr.fluxmedia.transmorpher.graph.Main
public class Main
A Main instance is a graph component that can contains calls
Field Summary |
---|
Fields inherited from class fr.fluxmedia.transmorpher.graph.Process |
---|
calls, channels |
Fields inherited from class fr.fluxmedia.transmorpher.graph.TransformationImpl |
---|
attributes, inPorts, name, outPorts, parameters, transmorpher, type |
Constructor Summary | |
---|---|
Main(java.lang.String name,
Transmorpher owner)
Constructor for the Main object |
Method Summary | |
---|---|
TProcessComposite |
createMainProcess()
Creates an execution component corresponding to this Main and starts the creation of execution components of each calls of this Main |
void |
generateBody(Writer file,
LinearIndexedStruct externs)
Generates java code for body |
void |
generateClassHeader(Writer file)
Generates java code for class header |
void |
generateEnd(Writer file)
Generates java code for end |
void |
generateImport(Writer file,
LinearIndexedStruct externs)
Generates java code for import |
void |
generateMainHeader(Writer file)
Generates java code for main header |
void |
generateReadParameters(Writer file)
Generates java code for command line parameters |
void |
generateXML()
Prints the XML expression of the main |
Methods inherited from class fr.fluxmedia.transmorpher.graph.MainProcess |
---|
generateJavaCode |
Methods inherited from class fr.fluxmedia.transmorpher.graph.Process |
---|
addCall, addChannel, clearNull, clearVisited, deleteCallsTo, getAllChannels, getCall, getCalls, getChannel, getChannels, removeCall, removeCallAndPorts, removeChannel, removeChannelAndPorts, retroNull, retroNull, retroNull, setUp |
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 |
Constructor Detail |
---|
public Main(java.lang.String name, Transmorpher owner)
name
- The name of the Main instance to createowner
- The transmorpher which owns this instanceMethod Detail |
---|
public void generateXML()
generateXML
in interface Transformation
generateXML
in class Process
public TProcessComposite createMainProcess()
createMainProcess
in class MainProcess
public void generateImport(Writer file, LinearIndexedStruct externs) throws java.io.IOException
generateImport
in class MainProcess
file
- The writer used for printing in a fileexterns
- Description of the Parameter
java.io.IOException
- When IO errors occurpublic void generateClassHeader(Writer file) throws java.io.IOException
generateClassHeader
in class MainProcess
file
- The writer used for printing in a file
java.io.IOException
- When IO errors occurpublic void generateMainHeader(Writer file) throws java.io.IOException
generateMainHeader
in class MainProcess
file
- The writer used for printing in a file
java.io.IOException
- When IO errors occurpublic void generateReadParameters(Writer file) throws java.io.IOException
generateReadParameters
in class MainProcess
file
- The writer used for printing in a file
java.io.IOException
- When IO errors occurpublic final void generateBody(Writer file, LinearIndexedStruct externs) throws java.io.IOException
generateBody
in class MainProcess
file
- The writer used for printing in a fileexterns
- Description of the Parameter
java.io.IOException
- When IO errors occurpublic void generateEnd(Writer file) throws java.io.IOException
generateEnd
in class MainProcess
file
- The writer used for printing in a file
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 |