TDiskRepairer

From Ultibo.org
Jump to: navigation, search

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