Home | Trees | Index | Help |
---|
Package PyFoam :: Package LogAnalysis :: Module FoamLogAnalyzer :: Class FoamLogAnalyzer |
|
EchoLogAnalyzer
,
StandardLogAnalyzer
,
UtilityAnalyzer
Base class for all analyzers
Administrates and calls a number of LogLineAnlayzers for each lineMethod Summary | |
---|---|
| |
Adds an analyzer | |
| |
Analyzes a file (one line at a time) | |
Calls all the anlyzers for a line | |
Get the LogLineAnalyzer name | |
Gets the output directory | |
Gets the current time | |
Checks with all the analyzers | |
Sets the output directory for all the analyzers | |
Sets the time and alert all the LineAnalyzers that the time has changed | |
Remove reference to self in children (hoping to remove circular dependencies) |
Method Details |
---|
__init__(self,
progress=False)
|
addAnalyzer(self, name, obj)Adds an analyzer obj - A LogLineAnalyzer name - the name of the analyzer |
addTimeListener(self, listener)
|
analyze(self, fh)Analyzes a file (one line at a time) fh - handle of the file |
analyzeLine(self, line)Calls all the anlyzers for a line |
getAnalyzer(self, name)Get the LogLineAnalyzer name |
getDirectory(self)Gets the output directory |
getTime(self)Gets the current time |
goOn(self)Checks with all the analyzers If one analyzer returns False it returns False |
setDirectory(self, d)Sets the output directory for all the analyzers |
setTime(self, time)Sets the time and alert all the LineAnalyzers that the time has changed
|
tearDown(self)Remove reference to self in children (hoping to remove circular dependencies) |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Mon Jan 22 23:52:48 2007 | http://epydoc.sf.net |