Class TFitTaskWithThread
Unit
fit_task_with_thread 
Declaration
type TFitTaskWithThread = class(TFitTask) 
Description
Executes task solution in separate thread. 
Hierarchy
Overview
Fields
Methods
Properties
Description
Fields
  | 
FDoneDisabled:   boolean; | 
 
| 
  |  
 
Methods
  | 
constructor Create(AOwner: TComponent; AEnableBackgroundVariation: boolean; ACurveScalingEnabled: boolean); overload; | 
 
| 
  |  
 
  | 
destructor Destroy; override; | 
 
| 
  |  
 
  | 
function GetAllDone: boolean; override; | 
 
| 
  |  
 
  | 
function GetCurAbsMin: double; override; | 
 
| 
  |  
 
  | 
function GetCurMin: double; override; | 
 
| 
 
Methods implement synchronization to work in multithreading environment. 
 |  
 
  | 
function GetCurMinInitialized: boolean; override; | 
 
| 
  |  
 
  | 
function GetCurSqrMin: double; override; | 
 
| 
  |  
 
  | 
procedure AbortAsyncOper; | 
 
| 
 
Sets up termination flags and waits for actual termination of the thread. 
 |  
 
  | 
procedure ComputeBackgroundPointsDoneSync; | 
 
| 
  |  
 
  | 
procedure ComputeCurveBoundsDoneSync; | 
 
| 
  |  
 
  | 
procedure ComputeCurvePositionsDoneSync; | 
 
| 
  |  
 
  | 
procedure DestroyMainCalcThread; | 
 
| 
 
Waits for thread termination. 
 |  
 
  | 
procedure Done; override; | 
 
| 
  |  
 
  | 
procedure DoneProcSync; | 
 
| 
  |  
 
  | 
procedure MinimizeDifference; override; | 
 
| 
 
Fits curves starting from given parameter set (initially or repeatedly). 
 |  
 
  | 
procedure MinimizeDifferenceAgain; override; | 
 
| 
  |  
 
  | 
procedure MinimizeNumberOfCurves; override; | 
 
| 
 
Searches set of pattern curves fitting exprerimental data with given accuracy sequentially decreasing number of such curves. 
 |  
 
  | 
procedure ShowCurMin; override; | 
 
| 
  |  
 
  | 
procedure ShowCurMinSync; | 
 
| 
 
TODO: methods should be implemented. 
 |  
 
  | 
procedure ShowProfileSync; | 
 
| 
  |  
 
  | 
procedure StopAsyncOper; override; | 
 
| 
 
Sets up termination flags and returns. The method doesn't wait for actual termination of the thread. 
 |  
 
  | 
procedure RecreateMainCalcThread(ATask: TThreadMethod; AAllDone: TThreadMethod); | 
 
| 
 
Suppresses calling Done. 
 |  
 
Properties
 Generated by PasDoc 0.15.0. 
 |