Package PyFoam :: Package LogAnalysis :: Module TimeLineAnalyzer :: Class TimeLineAnalyzer
[hide private]
[frames] | no frames]

Class TimeLineAnalyzer

source code

                     object --+    
                              |    
LogLineAnalyzer.LogLineAnalyzer --+
                                  |
                                 TimeLineAnalyzer

Parses the line for the current time and makes it available to the parent analyzer (who makes it available to all of his children). This side-effect is important for all the other line-analyzers that need the time

Instance Methods [hide private]
 
__init__(self, progress=False)
Constructs the analyzer
source code
 
doAnalysis(self, line)
Analyze a line
source code

Inherited from LogLineAnalyzer.LogLineAnalyzer: addListener, getTime, goOn, notify, setDirectory, setParent, tearDown, timeChanged

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, progress=False)
(Constructor)

source code 

Constructs the analyzer

Parameters:
  • progress - whether to print the time on the console
Overrides: object.__init__

doAnalysis(self, line)

source code 

Analyze a line

line - the line to be analyzed

This method carries the main functionality in the sub-classes

Overrides: LogLineAnalyzer.LogLineAnalyzer.doAnalysis
(inherited documentation)