Package PyFoam :: Package LogAnalysis :: Module ExecutionTimeLineAnalyzer :: Class GeneralExecutionLineAnalyzer
[show private | hide private]
[frames | no frames]

Class GeneralExecutionLineAnalyzer

LogLineAnalyzer --+    
                  |    
GeneralLineAnalyzer --+
                      |
                     GeneralExecutionLineAnalyzer

Known Subclasses:
ExecutionTimeLineAnalyzer, TimeLineExecutionTimeLineAnalyzer

Parses lines for the execution time
Method Summary
  __init__(self, doTimelines, doFiles)
  addToFiles(self, match)
Method that adds matched data to files
  addToTimelines(self, match)
Method that adds matched data to timelines
  endAnalysis(self, match)
Method at the end of a successfull match
  startAnalysis(self, match)
Method at the start of a successfull match
    Inherited from GeneralLineAnalyzer
  doAnalysis(self, line)
General analysis method.
  getTimeline(self, name)
Return the timeline as two list: the times and the values
  setDirectory(self, oDir)
Creates the OutFileCollection-object
  setTitles(self, titles)
Sets the titles anew
  timeChanged(self)
Sets the current time in the timelines
    Inherited from LogLineAnalyzer
  getTime(self)
Return current time
  goOn(self)
If the analyzer thinks the simulation should be stopped (for instance because of convergence) it returns false
  setParent(self, parent)
Introduces the LineAnalyzer to its supervisor

Method Details

addToFiles(self, match)

Method that adds matched data to files
Parameters:
match - data matched by a regular expression
Overrides:
PyFoam.LogAnalysis.GeneralLineAnalyzer.GeneralLineAnalyzer.addToFiles (inherited documentation)

addToTimelines(self, match)

Method that adds matched data to timelines
Parameters:
match - data matched by a regular expression
Overrides:
PyFoam.LogAnalysis.GeneralLineAnalyzer.GeneralLineAnalyzer.addToTimelines (inherited documentation)

endAnalysis(self, match)

Method at the end of a successfull match
Overrides:
PyFoam.LogAnalysis.GeneralLineAnalyzer.GeneralLineAnalyzer.endAnalysis (inherited documentation)

startAnalysis(self, match)

Method at the start of a successfull match
Overrides:
PyFoam.LogAnalysis.GeneralLineAnalyzer.GeneralLineAnalyzer.startAnalysis (inherited documentation)

Generated by Epydoc 2.1 on Mon Jan 22 23:52:48 2007 http://epydoc.sf.net