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

Class AnalyzedRunner

AnalyzedCommon --+
                 |
   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
    Inherited from AnalyzedCommon
  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
    Inherited from BasicRunner
PyFoam.RunDictionary.SolutionDirectory getSolutionDirectory(self, archive)
Return the directory of the case
  logName(self)
Get the name of the logfiles
  runOK(self)
checks whether the run was successful
  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.AnalyzedCommon.AnalyzedCommon.__init__

Generated by Epydoc 2.1 on Thu Feb 23 18:40:57 2006 http://epydoc.sf.net