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

Class AnalyzedRunner

BasicRunner --+
              |
             AnalyzedRunner

Known Subclasses:
ConvergenceRunner, UtilityRunner

The output of a command is analyzed while being run

Side effects (files written etc) depend on the analyzer
Method Summary
  __init__(self, analyzer, argv, silent, logname)
analyzer - the analyzer for the output argv, silent, logname - see BasicRunner
  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
    Inherited from BasicRunner
PyFoam.RunDictionary.SolutionDirectory getSolutionDirectory(self, archive)
Return the directory of the case
  logName(self)
Get the name of the logfiles
  start(self)
starts the command and stays with it till the end
  startHandle(self)
to be called before the program is started
  stopHandle(self)
called after the program has stopped

Method Details

__init__(self, analyzer, argv=None, silent=False, logname='PyFoamSolve')
(Constructor)

analyzer - the analyzer for the output argv, silent, logname - see BasicRunner
Overrides:
PyFoam.Execution.BasicRunner.BasicRunner.__init__

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
Overrides:
PyFoam.Execution.BasicRunner.BasicRunner.lineHandle

reset(self)

reset the analyzer

Generated by Epydoc 2.1 on Fri Jan 13 15:23:07 2006 http://epydoc.sf.net