Package PyFoam :: Package Execution :: Module StepAnalyzedWatcher :: Class StepAnalyzedWatcher
[show private | hide private]
[frames | no frames]

Class StepAnalyzedWatcher

      BasicWatcher --+
                     |
AnalyzedCommon --+   |
                 |   |
StepAnalyzedCommon --+
                     |
                    StepAnalyzedWatcher


The output of a command is analyzed while being run. At every time-step a command is performed
Method Summary
  __init__(self, filename, analyzer, silent, smallestFreq)
    Inherited from StepAnalyzedCommon
  timeChanged(self)
React to a change of the simulation time in the log
  timeHandle(self)
Handler that reacts to the change of time.
    Inherited from AnalyzedCommon
  addAnalyzer(self, name, analyzer)
  getAnalyzer(self, name)
  getDirname(self)
Get the name of the directory where the data is written to
  getTime(self)
Get the execution time
  lineHandle(self, line)
Not to be called: calls the analyzer for the current line
  reset(self)
reset the analyzer
  tearDown(self)
    Inherited from BasicWatcher
  getSize(self)
Return the current size (in bytes) of the file
  start(self)
Reads the file and does the processing
  startHandle(self)
to be called before the program is started
  stopHandle(self)
called after the program has stopped
  tailingHandle(self)
called when the first line is output

Method Details

__init__(self, filename, analyzer, silent=False, smallestFreq=0.0)
(Constructor)

Parameters:
smallestFreq - the smallest intervall of real time (in seconds) that the time change is honored
Overrides:
PyFoam.Execution.StepAnalyzedCommon.StepAnalyzedCommon.__init__

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