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

Source Code for Module PyFoam.Execution.AnalyzedRunner

 1  #  ICE Revision: $Id: AnalyzedRunner.py 7832 2007-08-28 13:07:26Z bgschaid $  
 2  """Command is run and output is analyzed""" 
 3   
 4  from BasicRunner import BasicRunner 
 5  from AnalyzedCommon import AnalyzedCommon 
 6   
7 -class AnalyzedRunner(AnalyzedCommon,BasicRunner):
8 """The output of a command is analyzed while being run 9 10 Side effects (files written etc) depend on the analyzer""" 11
12 - def __init__(self,analyzer,argv=None,silent=False,logname="PyFoamSolve",server=False,lam=None):
13 """ @param analyzer: the analyzer for the output 14 argv, silent, logname, server, lam - see BasicRunner""" 15 BasicRunner.__init__(self,argv,silent,logname,server=server,lam=lam) 16 AnalyzedCommon.__init__(self,logname,analyzer)
17
18 - def lineHandle(self,line):
19 """Not to be called: calls the analyzer for the current line""" 20 AnalyzedCommon.lineHandle(self,line) 21 BasicRunner.lineHandle(self,line)
22