Difference between revisions of "TDiskRepairer"

From Ultibo.org
Jump to: navigation, search
(Created page with "Return to Unit Filesystem __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible...")
 
(No difference)

Latest revision as of 04:10, 17 May 2018

Return to Unit Filesystem


Description


To be documented

Class definitions



TDiskRepairer = class(TObject)

constructor Create(ADriver:TFileSysDriver; ARecognizer:TRecognizer);  
destructor Destroy; override;  
private
FLock:TSynchronizerHandle;  
FLocalLock:TMutexHandle;  
protected
FDriver:TFileSysDriver;  
FRecognizer:TRecognizer;  
 
function AcquireLock:Boolean;  
function ReleaseLock:Boolean;  
public
function ReaderLock:Boolean;  
function ReaderUnlock:Boolean;  
function WriterLock:Boolean;  
function WriterUnlock:Boolean;  
 
function AcceptVolume(AVolume:TDiskVolume):Boolean; virtual;  
 
function RepairVolume(AVolume:TDiskVolume):Boolean; virtual;  


Function declarations



constructor TDiskRepairer.Create(ADriver:TFileSysDriver; ARecognizer:TRecognizer);
Description: To be documented
Note None documented


destructor TDiskRepairer.Destroy;
Description: To be documented
Note None documented


function TDiskRepairer.AcquireLock:Boolean;
Description: To be documented
Note None documented


function TDiskRepairer.ReleaseLock:Boolean;
Description: To be documented
Note None documented


function TDiskRepairer.ReaderLock:Boolean;
Description: To be documented
Note None documented


function TDiskRepairer.ReaderUnlock:Boolean;
Description: To be documented
Note None documented


function TDiskRepairer.WriterLock:Boolean;
Description: To be documented
Note None documented


function TDiskRepairer.WriterUnlock:Boolean;
Description: To be documented
Note None documented


function TDiskRepairer.AcceptVolume(AVolume:TDiskVolume):Boolean;
Description: To be documented
Note Caller must hold the volume lock


function TDiskRepairer.RepairVolume(AVolume:TDiskVolume):Boolean;
Description: To be documented
Note Caller must hold the volume lock


Return to Unit Reference