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

Class AnalyzedWatcher

source code

                   object --+    
                            |    
    BasicWatcher.BasicWatcher --+
                                |
                   object --+   |
                            |   |
AnalyzedCommon.AnalyzedCommon --+
                                |
                               AnalyzedWatcher

Instance Methods [hide private]
 
__init__(self, filename, analyzer, silent=False, tailLength=1000, sleep=0.1)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from BasicWatcher.BasicWatcher: getSize, lineHandle, start, startHandle, stopHandle, tailingHandle

Inherited from AnalyzedCommon.AnalyzedCommon: addAnalyzer, addTrigger, createPlots, getAnalyzer, getDirname, getTime, hasAnalyzer, listAnalyzers, picklePlots, reset, tearDown

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, filename, analyzer, silent=False, tailLength=1000, sleep=0.1)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • analyzer - analyzer
  • filename - name of the logfile to watch
  • silent - if True no output is sent to stdout
  • tailLength - number of bytes at the end of the fail that should be output. Because data is output on a per-line-basis
  • sleep - interval to sleep if no line is returned
Overrides: object.__init__