Public Member Functions | |
void | add (TransactionResult tr, String key) |
void | printDiagrams (String filename) throws IOException |
String | printDiagrams () |
String | printDocument () |
void | printDocument (File texFile) throws IOException |
void | printDocument (String filename) throws IOException |
String | printTask (Task task, String linestart) |
String | printTransaction (Transaction tr) |
void | setColortab (Map< String, Color > colortab) |
void | setColtab (Map< String, String > col) |
void | setFigtab (Map< String, Boolean > fig) |
void | setGamma (TransactionSet gamma) |
void | setInsttab (Map< String, Boolean > inst) |
void | setTikzphad (String tikzphad) |
void | setXgesmax (double tgesmax) |
void | setXmax (double d) |
void | setYmax (double d) |
void | showDocumentAsPDF (File executable, File workingdir, String filename, IConsumer consumer) throws IOException, InterruptedException |
void | showDocumentAsPDF (String executable, String workingdir, String filename, IConsumer consumer) throws IOException, InterruptedException |
Package Attributes | |
float[][] | fcols |
Private Member Functions | |
void | computeYmax () |
boolean | contains (List< Task > tau, Task t) |
void | initColortab () |
void | initColtab () |
void | initFigtab () |
void | initGamma () |
void | initXmax () |
String | normalize (String name) |
String | printColortab () |
String | printDiagramsFigure (TransactionResult result, String caption) |
String | printDiagramsSubfigure (String subcaption, String content) |
String | printGamma () |
Private Attributes | |
Map< String, Color > | colortab = new HashMap<String,Color>() |
Map< String, String > | coltab = new HashMap<String,String>() |
Map< String, Boolean > | figtab = new HashMap<String,Boolean>() |
TransactionSet | gamma = null |
Map< String, Boolean > | insttab = new HashMap<String,Boolean>() |
String | tikzphad = ".." |
Map< String, TransactionResult > | trlist = new LinkedHashMap<String,TransactionResult>() |
boolean | useColortabForInitColtab = true |
double | xgesmax = 1020 |
double | xmax = 340 |
double | ymax = 22 |
Static Private Attributes | |
static String[] | cols |
static int | maxcols = 5 |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.add | ( | TransactionResult | tr, | |
String | key | |||
) |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.computeYmax | ( | ) | [private] |
Bestimmt das Maximum der Priorit�ten aus Gamma und setzt ymax auf das Maximum + 3.
boolean de.fraunhofer.isst.axbench.timing.io.TiKZDocument.contains | ( | List< Task > | tau, | |
Task | t | |||
) | [private] |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.initColortab | ( | ) | [private] |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.initColtab | ( | ) | [private] |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.initFigtab | ( | ) | [private] |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.initGamma | ( | ) | [private] |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.initXmax | ( | ) | [private] |
String de.fraunhofer.isst.axbench.timing.io.TiKZDocument.normalize | ( | String | name | ) | [private] |
Unterstriche sind in Latex nicht erlaubt und werden durch Bindestrich ersetzt.
name |
String de.fraunhofer.isst.axbench.timing.io.TiKZDocument.printColortab | ( | ) | [private] |
String de.fraunhofer.isst.axbench.timing.io.TiKZDocument.printDiagrams | ( | ) |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.printDiagrams | ( | String | filename | ) | throws IOException |
Schreibt die Diagramme auf ein File (kein vollst�ndiges LaTeX-Dokument) (ymax muss gesetzt werden)
filename | die Filespezifikation |
IOException |
String de.fraunhofer.isst.axbench.timing.io.TiKZDocument.printDiagramsFigure | ( | TransactionResult | result, | |
String | caption | |||
) | [private] |
String de.fraunhofer.isst.axbench.timing.io.TiKZDocument.printDiagramsSubfigure | ( | String | subcaption, | |
String | content | |||
) | [private] |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.printDocument | ( | File | texFile | ) | throws IOException |
Schreibt das Dokument auf ein File (ymax muss gesetzt werden)
texFile | ein Java-File |
IOException |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.printDocument | ( | String | filename | ) | throws IOException |
Schreibt das Dokument auf ein File (ymax muss gesetzt werden)
filename | die Filespezifikation |
IOException |
String de.fraunhofer.isst.axbench.timing.io.TiKZDocument.printDocument | ( | ) |
String de.fraunhofer.isst.axbench.timing.io.TiKZDocument.printGamma | ( | ) | [private] |
String de.fraunhofer.isst.axbench.timing.io.TiKZDocument.printTask | ( | Task | task, | |
String | linestart | |||
) |
String de.fraunhofer.isst.axbench.timing.io.TiKZDocument.printTransaction | ( | Transaction | tr | ) |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.setColortab | ( | Map< String, Color > | colortab | ) |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.setColtab | ( | Map< String, String > | col | ) |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.setFigtab | ( | Map< String, Boolean > | fig | ) |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.setGamma | ( | TransactionSet | gamma | ) |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.setInsttab | ( | Map< String, Boolean > | inst | ) |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.setTikzphad | ( | String | tikzphad | ) |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.setXgesmax | ( | double | tgesmax | ) |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.setXmax | ( | double | d | ) |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.setYmax | ( | double | d | ) |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.showDocumentAsPDF | ( | String | executable, | |
String | workingdir, | |||
String | filename, | |||
IConsumer | consumer | |||
) | throws IOException, InterruptedException |
Print des Dokuments als LaTeX-File printDocument(String),
(intern wird ymax bestimmt)
externer Prozess (realisiert mit ExtendedProcessBuilder:
LaTeX-prozessing des Files und
Anzeige des PDF-File mit dem Acrobatreader
executable | das Batch-File f�r das Prozessing und der Anzeige | |
workingdir | Zielverzeichnis der LaTeX-Files (mit abschie�enden Fileseperator) | |
filename | Filename des Dokuments (ohne Extension) | |
consumer | Konsumer der Ausgabe des externen Prozess (null bedeutet Konsole) |
IOException | ||
InterruptedException |
void de.fraunhofer.isst.axbench.timing.io.TiKZDocument.showDocumentAsPDF | ( | File | executable, | |
File | workingdir, | |||
String | filename, | |||
IConsumer | consumer | |||
) | throws IOException, InterruptedException |
Print des Dokuments als LaTeX-File printDocument(String),
(intern wird ymax bestimmt)
externer Prozess (realisiert mit ExtendedProcessBuilder:
LaTeX-prozessing des Files und
Anzeige des PDF-File mit dem Acrobatreader
Es wird vorausgestzt, dass Latex und Acrobatreader korrekt installiert sind (PHAD) Der TiKZ-Phad f�r die includes muss gesetzt sein
executable | das Batch-File f�r das Prozessing und der Anzeige | |
workingdir | Zielverzeichnis der LaTeX-Files (mit abschie�enden Fileseperator) | |
filename | Filename des Dokuments (ohne Extension) | |
consumer | Konsumer der Ausgabe des externen Prozess (null bedeutet Konsole) |
IOException | ||
InterruptedException |
Map<String,Color> de.fraunhofer.isst.axbench.timing.io.TiKZDocument.colortab = new HashMap<String,Color>() [private] |
String [] de.fraunhofer.isst.axbench.timing.io.TiKZDocument.cols [static, private] |
{"tblue", "tgreen", "tyellow", "tred", "torange", "tcyan"}
Map<String,String> de.fraunhofer.isst.axbench.timing.io.TiKZDocument.coltab = new HashMap<String,String>() [private] |
float [][] de.fraunhofer.isst.axbench.timing.io.TiKZDocument.fcols [package] |
{ {0.6f,0.6f,1.0f}, {0.6f,1.0f,0.6f}, {1.0f,1.0f,0.6f}, {1.0f,0.6f,0.6f}, {1.0f,0.6f,0.4f}, {0.0f,1.0f,1.0f} }
Map<String,Boolean> de.fraunhofer.isst.axbench.timing.io.TiKZDocument.figtab = new HashMap<String,Boolean>() [private] |
TransactionSet de.fraunhofer.isst.axbench.timing.io.TiKZDocument.gamma = null [private] |
Map<String,Boolean> de.fraunhofer.isst.axbench.timing.io.TiKZDocument.insttab = new HashMap<String,Boolean>() [private] |
int de.fraunhofer.isst.axbench.timing.io.TiKZDocument.maxcols = 5 [static, private] |
String de.fraunhofer.isst.axbench.timing.io.TiKZDocument.tikzphad = ".." [private] |
Map<String, TransactionResult> de.fraunhofer.isst.axbench.timing.io.TiKZDocument.trlist = new LinkedHashMap<String,TransactionResult>() [private] |
boolean de.fraunhofer.isst.axbench.timing.io.TiKZDocument.useColortabForInitColtab = true [private] |
double de.fraunhofer.isst.axbench.timing.io.TiKZDocument.xgesmax = 1020 [private] |
double de.fraunhofer.isst.axbench.timing.io.TiKZDocument.xmax = 340 [private] |
double de.fraunhofer.isst.axbench.timing.io.TiKZDocument.ymax = 22 [private] |