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, server)
analyzer - the analyzer for the output argv, silent, logname, server - see BasicRunner
    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 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', server=False)
(Constructor)

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

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