C# Class Analyzer.AnalyzerBase

Datei anzeigen Open project: 2014-sed-team3/term-project

Public Methods

Method Description
CalculateProgressInPercent ( Int32 calculationsCompleted, Int32 totalCalculations ) : Int32
tryAnalyze ( IGraph graph, BackgroundWorker bgw, AnalyzeResultBase &results ) : bool

Protected Methods

Method Description
ReportProgress ( Int32 iCalculationsSoFar, Int32 iTotalCalculations, BackgroundWorker oBackgroundWorker ) : void
ReportProgressAndCheckCancellationPending ( Int32 iCalculationsSoFar, Int32 iTotalCalculations, BackgroundWorker oBackgroundWorker ) : System.Boolean

Method Details

CalculateProgressInPercent() public static method

public static CalculateProgressInPercent ( Int32 calculationsCompleted, Int32 totalCalculations ) : Int32
calculationsCompleted System.Int32
totalCalculations System.Int32
return System.Int32

ReportProgress() protected method

protected ReportProgress ( Int32 iCalculationsSoFar, Int32 iTotalCalculations, BackgroundWorker oBackgroundWorker ) : void
iCalculationsSoFar System.Int32
iTotalCalculations System.Int32
oBackgroundWorker System.ComponentModel.BackgroundWorker
return void

ReportProgressAndCheckCancellationPending() protected method

protected ReportProgressAndCheckCancellationPending ( Int32 iCalculationsSoFar, Int32 iTotalCalculations, BackgroundWorker oBackgroundWorker ) : System.Boolean
iCalculationsSoFar System.Int32
iTotalCalculations System.Int32
oBackgroundWorker System.ComponentModel.BackgroundWorker
return System.Boolean

tryAnalyze() public abstract method

public abstract tryAnalyze ( IGraph graph, BackgroundWorker bgw, AnalyzeResultBase &results ) : bool
graph IGraph
bgw System.ComponentModel.BackgroundWorker
results AnalyzeResultBase
return bool