public class SignalTreePrinter
extends java.lang.Object
Constructor and Description |
---|
SignalTreePrinter() |
Modifier and Type | Method and Description |
---|---|
void |
init() |
boolean |
printTree(long tree)
Print the Signal Program corresponding to the given tree in a file
OutputDirectory/model_name.SIG . |
boolean |
printTreeFile(long node,
java.lang.String fileName)
Print the Signal Program corresponding to the given tree in a specific file.
|
boolean |
setOutputDirectory(java.lang.String directory)
Set the Output directory in which the generated file will be stored.
|
public void init()
public boolean printTree(long tree)
OutputDirectory/model_name.SIG
.
Here the tree must represent a model declaration or a module.tree
- the tree representing the modelorg.eclipse.ssme.polychrony.SignalTreePrinter#setOutputDirectory(String)
public boolean printTreeFile(long node, java.lang.String fileName)
node
- the treefileName
- the name of the file in which the tree is generatedorg.eclipse.ssme.polychrony.SignalTreePrinter#setOutputDirectory(String)
public boolean setOutputDirectory(java.lang.String directory)
directory
- the absolute path to the directory